function Qv(i,s){for(var c=0;cr[f]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}(function(){const s=document.createElement("link").relList;if(s&&s.supports&&s.supports("modulepreload"))return;for(const f of document.querySelectorAll('link[rel="modulepreload"]'))r(f);new MutationObserver(f=>{for(const d of f)if(d.type==="childList")for(const h of d.addedNodes)h.tagName==="LINK"&&h.rel==="modulepreload"&&r(h)}).observe(document,{childList:!0,subtree:!0});function c(f){const d={};return f.integrity&&(d.integrity=f.integrity),f.referrerPolicy&&(d.referrerPolicy=f.referrerPolicy),f.crossOrigin==="use-credentials"?d.credentials="include":f.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function r(f){if(f.ep)return;f.ep=!0;const d=c(f);fetch(f.href,d)}})();function pg(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var kr={exports:{}},Li={};/** * @license React * react-jsx-runtime.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Cp;function Zv(){if(Cp)return Li;Cp=1;var i=Symbol.for("react.transitional.element"),s=Symbol.for("react.fragment");function c(r,f,d){var h=null;if(d!==void 0&&(h=""+d),f.key!==void 0&&(h=""+f.key),"key"in f){d={};for(var b in f)b!=="key"&&(d[b]=f[b])}else d=f;return f=d.ref,{$$typeof:i,type:r,key:h,ref:f!==void 0?f:null,props:d}}return Li.Fragment=s,Li.jsx=c,Li.jsxs=c,Li}var Np;function Kv(){return Np||(Np=1,kr.exports=Zv()),kr.exports}var y=Kv(),Xr={exports:{}},qi={},Qr={exports:{}},Zr={};/** * @license React * scheduler.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Op;function Jv(){return Op||(Op=1,(function(i){function s(w,G){var D=w.length;w.push(G);t:for(;0>>1,ct=w[it];if(0>>1;itf(B,D))Qf(W,B)?(w[it]=W,w[Q]=D,it=Q):(w[it]=B,w[L]=D,it=L);else if(Qf(W,D))w[it]=W,w[Q]=D,it=Q;else break t}}return G}function f(w,G){var D=w.sortIndex-G.sortIndex;return D!==0?D:w.id-G.id}if(i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var d=performance;i.unstable_now=function(){return d.now()}}else{var h=Date,b=h.now();i.unstable_now=function(){return h.now()-b}}var v=[],p=[],x=1,m=null,C=3,O=!1,M=!1,H=!1,q=!1,Y=typeof setTimeout=="function"?setTimeout:null,K=typeof clearTimeout=="function"?clearTimeout:null,$=typeof setImmediate<"u"?setImmediate:null;function F(w){for(var G=c(p);G!==null;){if(G.callback===null)r(p);else if(G.startTime<=w)r(p),G.sortIndex=G.expirationTime,s(v,G);else break;G=c(p)}}function I(w){if(H=!1,F(w),!M)if(c(v)!==null)M=!0,P||(P=!0,gt());else{var G=c(p);G!==null&&xt(I,G.startTime-w)}}var P=!1,Z=-1,J=5,mt=-1;function St(){return q?!0:!(i.unstable_now()-mtw&&St());){var it=m.callback;if(typeof it=="function"){m.callback=null,C=m.priorityLevel;var ct=it(m.expirationTime<=w);if(w=i.unstable_now(),typeof ct=="function"){m.callback=ct,F(w),G=!0;break e}m===c(v)&&r(v),F(w)}else r(v);m=c(v)}if(m!==null)G=!0;else{var E=c(p);E!==null&&xt(I,E.startTime-w),G=!1}}break t}finally{m=null,C=D,O=!1}G=void 0}}finally{G?gt():P=!1}}}var gt;if(typeof $=="function")gt=function(){$(Ot)};else if(typeof MessageChannel<"u"){var ht=new MessageChannel,yt=ht.port2;ht.port1.onmessage=Ot,gt=function(){yt.postMessage(null)}}else gt=function(){Y(Ot,0)};function xt(w,G){Z=Y(function(){w(i.unstable_now())},G)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(w){w.callback=null},i.unstable_forceFrameRate=function(w){0>w||125it?(w.sortIndex=D,s(p,w),c(v)===null&&w===c(p)&&(H?(K(Z),Z=-1):H=!0,xt(I,D-it))):(w.sortIndex=ct,s(v,w),M||O||(M=!0,P||(P=!0,gt()))),w},i.unstable_shouldYield=St,i.unstable_wrapCallback=function(w){var G=C;return function(){var D=C;C=G;try{return w.apply(this,arguments)}finally{C=D}}}})(Zr)),Zr}var Rp;function $v(){return Rp||(Rp=1,Qr.exports=Jv()),Qr.exports}var Kr={exports:{}},dt={};/** * @license React * react.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var zp;function Fv(){if(zp)return dt;zp=1;var i=Symbol.for("react.transitional.element"),s=Symbol.for("react.portal"),c=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),h=Symbol.for("react.context"),b=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),m=Symbol.for("react.activity"),C=Symbol.iterator;function O(E){return E===null||typeof E!="object"?null:(E=C&&E[C]||E["@@iterator"],typeof E=="function"?E:null)}var M={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},H=Object.assign,q={};function Y(E,L,B){this.props=E,this.context=L,this.refs=q,this.updater=B||M}Y.prototype.isReactComponent={},Y.prototype.setState=function(E,L){if(typeof E!="object"&&typeof E!="function"&&E!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,E,L,"setState")},Y.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,"forceUpdate")};function K(){}K.prototype=Y.prototype;function $(E,L,B){this.props=E,this.context=L,this.refs=q,this.updater=B||M}var F=$.prototype=new K;F.constructor=$,H(F,Y.prototype),F.isPureReactComponent=!0;var I=Array.isArray;function P(){}var Z={H:null,A:null,T:null,S:null},J=Object.prototype.hasOwnProperty;function mt(E,L,B){var Q=B.ref;return{$$typeof:i,type:E,key:L,ref:Q!==void 0?Q:null,props:B}}function St(E,L){return mt(E.type,L,E.props)}function Ot(E){return typeof E=="object"&&E!==null&&E.$$typeof===i}function gt(E){var L={"=":"=0",":":"=2"};return"$"+E.replace(/[=:]/g,function(B){return L[B]})}var ht=/\/+/g;function yt(E,L){return typeof E=="object"&&E!==null&&E.key!=null?gt(""+E.key):L.toString(36)}function xt(E){switch(E.status){case"fulfilled":return E.value;case"rejected":throw E.reason;default:switch(typeof E.status=="string"?E.then(P,P):(E.status="pending",E.then(function(L){E.status==="pending"&&(E.status="fulfilled",E.value=L)},function(L){E.status==="pending"&&(E.status="rejected",E.reason=L)})),E.status){case"fulfilled":return E.value;case"rejected":throw E.reason}}throw E}function w(E,L,B,Q,W){var ot=typeof E;(ot==="undefined"||ot==="boolean")&&(E=null);var nt=!1;if(E===null)nt=!0;else switch(ot){case"bigint":case"string":case"number":nt=!0;break;case"object":switch(E.$$typeof){case i:case s:nt=!0;break;case x:return nt=E._init,w(nt(E._payload),L,B,Q,W)}}if(nt)return W=W(E),nt=Q===""?"."+yt(E,0):Q,I(W)?(B="",nt!=null&&(B=nt.replace(ht,"$&/")+"/"),w(W,L,B,"",function(ae){return ae})):W!=null&&(Ot(W)&&(W=St(W,B+(W.key==null||E&&E.key===W.key?"":(""+W.key).replace(ht,"$&/")+"/")+nt)),L.push(W)),1;nt=0;var ut=Q===""?".":Q+":";if(I(E))for(var Ct=0;Ct"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(s){console.error(s)}}return i(),Jr.exports=Wv(),Jr.exports}/** * @license React * react-dom-client.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var jp;function Iv(){if(jp)return qi;jp=1;var i=$v(),s=bs(),c=gg();function r(t){var e="https://react.dev/errors/"+t;if(1ct||(t.current=it[ct],it[ct]=null,ct--)}function B(t,e){ct++,it[ct]=t.current,t.current=e}var Q=E(null),W=E(null),ot=E(null),nt=E(null);function ut(t,e){switch(B(ot,e),B(W,t),B(Q,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?$m(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=$m(e),t=Fm(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}L(Q),B(Q,t)}function Ct(){L(Q),L(W),L(ot)}function ae(t){t.memoizedState!==null&&B(nt,t);var e=Q.current,a=Fm(e,t.type);e!==a&&(B(W,t),B(Q,a))}function de(t){W.current===t&&(L(Q),L(W)),nt.current===t&&(L(nt),ji._currentValue=D)}var ne,ya;function Fe(t){if(ne===void 0)try{throw Error()}catch(a){var e=a.stack.trim().match(/\n( *(at )?)/);ne=e&&e[1]||"",ya=-1)":-1l||S[n]!==z[l]){var U=` `+S[n].replace(" at new "," at ");return t.displayName&&U.includes("")&&(U=U.replace("",t.displayName)),U}while(1<=n&&0<=l);break}}}finally{kl=!1,Error.prepareStackTrace=a}return(a=t?t.displayName||t.name:"")?Fe(a):""}function bn(t,e){switch(t.tag){case 26:case 27:case 5:return Fe(t.type);case 16:return Fe("Lazy");case 13:return t.child!==e&&e!==null?Fe("Suspense Fallback"):Fe("Suspense");case 19:return Fe("SuspenseList");case 0:case 15:return Zn(t.type,!1);case 11:return Zn(t.type.render,!1);case 1:return Zn(t.type,!0);case 31:return Fe("Activity");default:return""}}function Xl(t){try{var e="",a=null;do e+=bn(t,a),a=t,t=t.return;while(t);return e}catch(n){return` Error generating stack: `+n.message+` `+n.stack}}var Oe=Object.prototype.hasOwnProperty,Ql=i.unstable_scheduleCallback,Zl=i.unstable_cancelCallback,me=i.unstable_shouldYield,Ga=i.unstable_requestPaint,pe=i.unstable_now,_s=i.unstable_getCurrentPriorityLevel,xn=i.unstable_ImmediatePriority,Zi=i.unstable_UserBlockingPriority,Sn=i.unstable_NormalPriority,Kl=i.unstable_LowPriority,ba=i.unstable_IdlePriority,Ki=i.log,Va=i.unstable_setDisableYieldValue,En=null,ge=null;function We(t){if(typeof Ki=="function"&&Va(t),ge&&typeof ge.setStrictMode=="function")try{ge.setStrictMode(En,t)}catch{}}var re=Math.clz32?Math.clz32:sa,Ms=Math.log,Jl=Math.LN2;function sa(t){return t>>>=0,t===0?32:31-(Ms(t)/Jl|0)|0}var Kn=256,Jn=262144,An=4194304;function ca(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function ft(t,e,a){var n=t.pendingLanes;if(n===0)return 0;var l=0,o=t.suspendedLanes,u=t.pingedLanes;t=t.warmLanes;var g=n&134217727;return g!==0?(n=g&~o,n!==0?l=ca(n):(u&=g,u!==0?l=ca(u):a||(a=g&~t,a!==0&&(l=ca(a))))):(g=n&~o,g!==0?l=ca(g):u!==0?l=ca(u):a||(a=n&~t,a!==0&&(l=ca(a)))),l===0?0:e!==0&&e!==l&&(e&o)===0&&(o=l&-l,a=e&-e,o>=a||o===32&&(a&4194048)!==0)?e:l}function Yt(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function Pt(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ue(){var t=An;return An<<=1,(An&62914560)===0&&(An=4194304),t}function ka(t){for(var e=[],a=0;31>a;a++)e.push(t);return e}function Vt(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function ve(t,e,a,n,l,o){var u=t.pendingLanes;t.pendingLanes=a,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=a,t.entangledLanes&=a,t.errorRecoveryDisabledLanes&=a,t.shellSuspendCounter=0;var g=t.entanglements,S=t.expirationTimes,z=t.hiddenUpdates;for(a=u&~a;0"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var qh=/[\n"\\]/g;function qe(t){return t.replace(qh,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Bs(t,e,a,n,l,o,u,g){t.name="",u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"?t.type=u:t.removeAttribute("type"),e!=null?u==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Le(e)):t.value!==""+Le(e)&&(t.value=""+Le(e)):u!=="submit"&&u!=="reset"||t.removeAttribute("value"),e!=null?Ls(t,u,Le(e)):a!=null?Ls(t,u,Le(a)):n!=null&&t.removeAttribute("value"),l==null&&o!=null&&(t.defaultChecked=!!o),l!=null&&(t.checked=l&&typeof l!="function"&&typeof l!="symbol"),g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?t.name=""+Le(g):t.removeAttribute("name")}function Vu(t,e,a,n,l,o,u,g){if(o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"&&(t.type=o),e!=null||a!=null){if(!(o!=="submit"&&o!=="reset"||e!=null)){Us(t);return}a=a!=null?""+Le(a):"",e=e!=null?""+Le(e):a,g||e===t.value||(t.value=e),t.defaultValue=e}n=n??l,n=typeof n!="function"&&typeof n!="symbol"&&!!n,t.checked=g?t.checked:!!n,t.defaultChecked=!!n,u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(t.name=u),Us(t)}function Ls(t,e,a){e==="number"&&Fi(t.ownerDocument)===t||t.defaultValue===""+a||(t.defaultValue=""+a)}function el(t,e,a,n){if(t=t.options,e){e={};for(var l=0;l"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ks=!1;if(Ea)try{var Il={};Object.defineProperty(Il,"passive",{get:function(){ks=!0}}),window.addEventListener("test",Il,Il),window.removeEventListener("test",Il,Il)}catch{ks=!1}var Qa=null,Xs=null,Ii=null;function $u(){if(Ii)return Ii;var t,e=Xs,a=e.length,n,l="value"in Qa?Qa.value:Qa.textContent,o=l.length;for(t=0;t=ei),ef=" ",af=!1;function nf(t,e){switch(t){case"keyup":return m0.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function lf(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var il=!1;function g0(t,e){switch(t){case"compositionend":return lf(e);case"keypress":return e.which!==32?null:(af=!0,ef);case"textInput":return t=e.data,t===ef&&af?null:t;default:return null}}function h0(t,e){if(il)return t==="compositionend"||!$s&&nf(t,e)?(t=$u(),Ii=Xs=Qa=null,il=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1=e)return{node:a,offset:e-t};t=n}t:{for(;a;){if(a.nextSibling){a=a.nextSibling;break t}a=a.parentNode}a=void 0}a=mf(a)}}function gf(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?gf(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function hf(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=Fi(t.document);e instanceof t.HTMLIFrameElement;){try{var a=typeof e.contentWindow.location.href=="string"}catch{a=!1}if(a)t=e.contentWindow;else break;e=Fi(t.document)}return e}function Is(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var w0=Ea&&"documentMode"in document&&11>=document.documentMode,ol=null,Ps=null,ii=null,tc=!1;function vf(t,e,a){var n=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;tc||ol==null||ol!==Fi(n)||(n=ol,"selectionStart"in n&&Is(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),ii&&li(ii,n)||(ii=n,n=Zo(Ps,"onSelect"),0>=u,l-=u,ra=1<<32-re(e)+l|a<vt?(Tt=lt,lt=null):Tt=lt.sibling;var zt=_(T,lt,R[vt],V);if(zt===null){lt===null&&(lt=Tt);break}t&<&&zt.alternate===null&&e(T,lt),A=o(zt,A,vt),Rt===null?st=zt:Rt.sibling=zt,Rt=zt,lt=Tt}if(vt===R.length)return a(T,lt),Nt&&wa(T,vt),st;if(lt===null){for(;vtvt?(Tt=lt,lt=null):Tt=lt.sibling;var pn=_(T,lt,zt.value,V);if(pn===null){lt===null&&(lt=Tt);break}t&<&&pn.alternate===null&&e(T,lt),A=o(pn,A,vt),Rt===null?st=pn:Rt.sibling=pn,Rt=pn,lt=Tt}if(zt.done)return a(T,lt),Nt&&wa(T,vt),st;if(lt===null){for(;!zt.done;vt++,zt=R.next())zt=k(T,zt.value,V),zt!==null&&(A=o(zt,A,vt),Rt===null?st=zt:Rt.sibling=zt,Rt=zt);return Nt&&wa(T,vt),st}for(lt=n(lt);!zt.done;vt++,zt=R.next())zt=j(lt,T,vt,zt.value,V),zt!==null&&(t&&zt.alternate!==null&<.delete(zt.key===null?vt:zt.key),A=o(zt,A,vt),Rt===null?st=zt:Rt.sibling=zt,Rt=zt);return t&<.forEach(function(Xv){return e(T,Xv)}),Nt&&wa(T,vt),st}function Ut(T,A,R,V){if(typeof R=="object"&&R!==null&&R.type===H&&R.key===null&&(R=R.props.children),typeof R=="object"&&R!==null){switch(R.$$typeof){case O:t:{for(var st=R.key;A!==null;){if(A.key===st){if(st=R.type,st===H){if(A.tag===7){a(T,A.sibling),V=l(A,R.props.children),V.return=T,T=V;break t}}else if(A.elementType===st||typeof st=="object"&&st!==null&&st.$$typeof===J&&Hn(st)===A.type){a(T,A.sibling),V=l(A,R.props),fi(V,R),V.return=T,T=V;break t}a(T,A);break}else e(T,A);A=A.sibling}R.type===H?(V=zn(R.props.children,T.mode,V,R.key),V.return=T,T=V):(V=co(R.type,R.key,R.props,null,T.mode,V),fi(V,R),V.return=T,T=V)}return u(T);case M:t:{for(st=R.key;A!==null;){if(A.key===st)if(A.tag===4&&A.stateNode.containerInfo===R.containerInfo&&A.stateNode.implementation===R.implementation){a(T,A.sibling),V=l(A,R.children||[]),V.return=T,T=V;break t}else{a(T,A);break}else e(T,A);A=A.sibling}V=sc(R,T.mode,V),V.return=T,T=V}return u(T);case J:return R=Hn(R),Ut(T,A,R,V)}if(xt(R))return tt(T,A,R,V);if(gt(R)){if(st=gt(R),typeof st!="function")throw Error(r(150));return R=st.call(R),rt(T,A,R,V)}if(typeof R.then=="function")return Ut(T,A,ho(R),V);if(R.$$typeof===$)return Ut(T,A,fo(T,R),V);vo(T,R)}return typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint"?(R=""+R,A!==null&&A.tag===6?(a(T,A.sibling),V=l(A,R),V.return=T,T=V):(a(T,A),V=oc(R,T.mode,V),V.return=T,T=V),u(T)):a(T,A)}return function(T,A,R,V){try{ui=0;var st=Ut(T,A,R,V);return vl=null,st}catch(lt){if(lt===hl||lt===po)throw lt;var Rt=ze(29,lt,null,T.mode);return Rt.lanes=V,Rt.return=T,Rt}finally{}}}var Bn=Yf(!0),Gf=Yf(!1),Fa=!1;function bc(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function xc(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function Wa(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Ia(t,e,a){var n=t.updateQueue;if(n===null)return null;if(n=n.shared,(_t&2)!==0){var l=n.pending;return l===null?e.next=e:(e.next=l.next,l.next=e),n.pending=e,e=so(t),wf(t,null,a),e}return oo(t,n,e,a),so(t)}function di(t,e,a){if(e=e.updateQueue,e!==null&&(e=e.shared,(a&4194048)!==0)){var n=e.lanes;n&=t.pendingLanes,a|=n,e.lanes=a,ye(t,a)}}function Sc(t,e){var a=t.updateQueue,n=t.alternate;if(n!==null&&(n=n.updateQueue,a===n)){var l=null,o=null;if(a=a.firstBaseUpdate,a!==null){do{var u={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};o===null?l=o=u:o=o.next=u,a=a.next}while(a!==null);o===null?l=o=e:o=o.next=e}else l=o=e;a={baseState:n.baseState,firstBaseUpdate:l,lastBaseUpdate:o,shared:n.shared,callbacks:n.callbacks},t.updateQueue=a;return}t=a.lastBaseUpdate,t===null?a.firstBaseUpdate=e:t.next=e,a.lastBaseUpdate=e}var Ec=!1;function mi(){if(Ec){var t=gl;if(t!==null)throw t}}function pi(t,e,a,n){Ec=!1;var l=t.updateQueue;Fa=!1;var o=l.firstBaseUpdate,u=l.lastBaseUpdate,g=l.shared.pending;if(g!==null){l.shared.pending=null;var S=g,z=S.next;S.next=null,u===null?o=z:u.next=z,u=S;var U=t.alternate;U!==null&&(U=U.updateQueue,g=U.lastBaseUpdate,g!==u&&(g===null?U.firstBaseUpdate=z:g.next=z,U.lastBaseUpdate=S))}if(o!==null){var k=l.baseState;u=0,U=z=S=null,g=o;do{var _=g.lane&-536870913,j=_!==g.lane;if(j?(wt&_)===_:(n&_)===_){_!==0&&_===pl&&(Ec=!0),U!==null&&(U=U.next={lane:0,tag:g.tag,payload:g.payload,callback:null,next:null});t:{var tt=t,rt=g;_=e;var Ut=a;switch(rt.tag){case 1:if(tt=rt.payload,typeof tt=="function"){k=tt.call(Ut,k,_);break t}k=tt;break t;case 3:tt.flags=tt.flags&-65537|128;case 0:if(tt=rt.payload,_=typeof tt=="function"?tt.call(Ut,k,_):tt,_==null)break t;k=m({},k,_);break t;case 2:Fa=!0}}_=g.callback,_!==null&&(t.flags|=64,j&&(t.flags|=8192),j=l.callbacks,j===null?l.callbacks=[_]:j.push(_))}else j={lane:_,tag:g.tag,payload:g.payload,callback:g.callback,next:null},U===null?(z=U=j,S=k):U=U.next=j,u|=_;if(g=g.next,g===null){if(g=l.shared.pending,g===null)break;j=g,g=j.next,j.next=null,l.lastBaseUpdate=j,l.shared.pending=null}}while(!0);U===null&&(S=k),l.baseState=S,l.firstBaseUpdate=z,l.lastBaseUpdate=U,o===null&&(l.shared.lanes=0),nn|=u,t.lanes=u,t.memoizedState=k}}function Vf(t,e){if(typeof t!="function")throw Error(r(191,t));t.call(e)}function kf(t,e){var a=t.callbacks;if(a!==null)for(t.callbacks=null,t=0;to?o:8;var u=w.T,g={};w.T=g,Gc(t,!1,e,a);try{var S=l(),z=w.S;if(z!==null&&z(g,S),S!==null&&typeof S=="object"&&typeof S.then=="function"){var U=D0(S,n);vi(t,e,U,He(t))}else vi(t,e,n,He(t))}catch(k){vi(t,e,{then:function(){},status:"rejected",reason:k},He())}finally{G.p=o,u!==null&&g.types!==null&&(u.types=g.types),w.T=u}}function q0(){}function qc(t,e,a,n){if(t.tag!==5)throw Error(r(476));var l=Sd(t).queue;xd(t,l,e,D,a===null?q0:function(){return Ed(t),a(n)})}function Sd(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:D,baseState:D,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Oa,lastRenderedState:D},next:null};var a={};return e.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Oa,lastRenderedState:a},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function Ed(t){var e=Sd(t);e.next===null&&(e=t.alternate.memoizedState),vi(t,e.next.queue,{},He())}function Yc(){return oe(ji)}function Ad(){return Zt().memoizedState}function wd(){return Zt().memoizedState}function Y0(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var a=He();t=Wa(a);var n=Ia(e,t,a);n!==null&&(Ce(n,e,a),di(n,e,a)),e={cache:gc()},t.payload=e;return}e=e.return}}function G0(t,e,a){var n=He();a={lane:n,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},No(t)?Cd(e,a):(a=lc(t,e,a,n),a!==null&&(Ce(a,t,n),Nd(a,e,n)))}function Td(t,e,a){var n=He();vi(t,e,a,n)}function vi(t,e,a,n){var l={lane:n,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(No(t))Cd(e,l);else{var o=t.alternate;if(t.lanes===0&&(o===null||o.lanes===0)&&(o=e.lastRenderedReducer,o!==null))try{var u=e.lastRenderedState,g=o(u,a);if(l.hasEagerState=!0,l.eagerState=g,Re(g,u))return oo(t,e,l,0),Bt===null&&io(),!1}catch{}finally{}if(a=lc(t,e,l,n),a!==null)return Ce(a,t,n),Nd(a,e,n),!0}return!1}function Gc(t,e,a,n){if(n={lane:2,revertLane:br(),gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},No(t)){if(e)throw Error(r(479))}else e=lc(t,a,n,2),e!==null&&Ce(e,t,2)}function No(t){var e=t.alternate;return t===pt||e!==null&&e===pt}function Cd(t,e){bl=xo=!0;var a=t.pending;a===null?e.next=e:(e.next=a.next,a.next=e),t.pending=e}function Nd(t,e,a){if((a&4194048)!==0){var n=e.lanes;n&=t.pendingLanes,a|=n,e.lanes=a,ye(t,a)}}var yi={readContext:oe,use:Ao,useCallback:kt,useContext:kt,useEffect:kt,useImperativeHandle:kt,useLayoutEffect:kt,useInsertionEffect:kt,useMemo:kt,useReducer:kt,useRef:kt,useState:kt,useDebugValue:kt,useDeferredValue:kt,useTransition:kt,useSyncExternalStore:kt,useId:kt,useHostTransitionStatus:kt,useFormState:kt,useActionState:kt,useOptimistic:kt,useMemoCache:kt,useCacheRefresh:kt};yi.useEffectEvent=kt;var Od={readContext:oe,use:Ao,useCallback:function(t,e){return he().memoizedState=[t,e===void 0?null:e],t},useContext:oe,useEffect:fd,useImperativeHandle:function(t,e,a){a=a!=null?a.concat([t]):null,To(4194308,4,gd.bind(null,e,t),a)},useLayoutEffect:function(t,e){return To(4194308,4,t,e)},useInsertionEffect:function(t,e){To(4,2,t,e)},useMemo:function(t,e){var a=he();e=e===void 0?null:e;var n=t();if(Ln){We(!0);try{t()}finally{We(!1)}}return a.memoizedState=[n,e],n},useReducer:function(t,e,a){var n=he();if(a!==void 0){var l=a(e);if(Ln){We(!0);try{a(e)}finally{We(!1)}}}else l=e;return n.memoizedState=n.baseState=l,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:l},n.queue=t,t=t.dispatch=G0.bind(null,pt,t),[n.memoizedState,t]},useRef:function(t){var e=he();return t={current:t},e.memoizedState=t},useState:function(t){t=jc(t);var e=t.queue,a=Td.bind(null,pt,e);return e.dispatch=a,[t.memoizedState,a]},useDebugValue:Bc,useDeferredValue:function(t,e){var a=he();return Lc(a,t,e)},useTransition:function(){var t=jc(!1);return t=xd.bind(null,pt,t.queue,!0,!1),he().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,a){var n=pt,l=he();if(Nt){if(a===void 0)throw Error(r(407));a=a()}else{if(a=e(),Bt===null)throw Error(r(349));(wt&127)!==0||$f(n,e,a)}l.memoizedState=a;var o={value:a,getSnapshot:e};return l.queue=o,fd(Wf.bind(null,n,o,t),[t]),n.flags|=2048,Sl(9,{destroy:void 0},Ff.bind(null,n,o,a,e),null),a},useId:function(){var t=he(),e=Bt.identifierPrefix;if(Nt){var a=ua,n=ra;a=(n&~(1<<32-re(n)-1)).toString(32)+a,e="_"+e+"R_"+a,a=So++,0<\/script>",o=o.removeChild(o.firstChild);break;case"select":o=typeof n.is=="string"?u.createElement("select",{is:n.is}):u.createElement("select"),n.multiple?o.multiple=!0:n.size&&(o.size=n.size);break;default:o=typeof n.is=="string"?u.createElement(l,{is:n.is}):u.createElement(l)}}o[le]=e,o[xe]=n;t:for(u=e.child;u!==null;){if(u.tag===5||u.tag===6)o.appendChild(u.stateNode);else if(u.tag!==4&&u.tag!==27&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)break t;for(;u.sibling===null;){if(u.return===null||u.return===e)break t;u=u.return}u.sibling.return=u.return,u=u.sibling}e.stateNode=o;t:switch(ce(o,l,n),l){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break t;case"img":n=!0;break t;default:n=!1}n&&za(e)}}return qt(e),er(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,a),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==n&&za(e);else{if(typeof n!="string"&&e.stateNode===null)throw Error(r(166));if(t=ot.current,dl(e)){if(t=e.stateNode,a=e.memoizedProps,n=null,l=ie,l!==null)switch(l.tag){case 27:case 5:n=l.memoizedProps}t[le]=e,t=!!(t.nodeValue===a||n!==null&&n.suppressHydrationWarning===!0||Km(t.nodeValue,a)),t||Ja(e,!0)}else t=Ko(t).createTextNode(n),t[le]=e,e.stateNode=t}return qt(e),null;case 31:if(a=e.memoizedState,t===null||t.memoizedState!==null){if(n=dl(e),a!==null){if(t===null){if(!n)throw Error(r(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(557));t[le]=e}else _n(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;qt(e),t=!1}else a=fc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=a),t=!0;if(!t)return e.flags&256?(Me(e),e):(Me(e),null);if((e.flags&128)!==0)throw Error(r(558))}return qt(e),null;case 13:if(n=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(l=dl(e),n!==null&&n.dehydrated!==null){if(t===null){if(!l)throw Error(r(318));if(l=e.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(r(317));l[le]=e}else _n(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;qt(e),l=!1}else l=fc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=l),l=!0;if(!l)return e.flags&256?(Me(e),e):(Me(e),null)}return Me(e),(e.flags&128)!==0?(e.lanes=a,e):(a=n!==null,t=t!==null&&t.memoizedState!==null,a&&(n=e.child,l=null,n.alternate!==null&&n.alternate.memoizedState!==null&&n.alternate.memoizedState.cachePool!==null&&(l=n.alternate.memoizedState.cachePool.pool),o=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(o=n.memoizedState.cachePool.pool),o!==l&&(n.flags|=2048)),a!==t&&a&&(e.child.flags|=8192),Mo(e,e.updateQueue),qt(e),null);case 4:return Ct(),t===null&&Ar(e.stateNode.containerInfo),qt(e),null;case 10:return Ca(e.type),qt(e),null;case 19:if(L(Qt),n=e.memoizedState,n===null)return qt(e),null;if(l=(e.flags&128)!==0,o=n.rendering,o===null)if(l)xi(n,!1);else{if(Xt!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(o=bo(t),o!==null){for(e.flags|=128,xi(n,!1),t=o.updateQueue,e.updateQueue=t,Mo(e,t),e.subtreeFlags=0,t=a,a=e.child;a!==null;)Tf(a,t),a=a.sibling;return B(Qt,Qt.current&1|2),Nt&&wa(e,n.treeForkCount),e.child}t=t.sibling}n.tail!==null&&pe()>Bo&&(e.flags|=128,l=!0,xi(n,!1),e.lanes=4194304)}else{if(!l)if(t=bo(o),t!==null){if(e.flags|=128,l=!0,t=t.updateQueue,e.updateQueue=t,Mo(e,t),xi(n,!0),n.tail===null&&n.tailMode==="hidden"&&!o.alternate&&!Nt)return qt(e),null}else 2*pe()-n.renderingStartTime>Bo&&a!==536870912&&(e.flags|=128,l=!0,xi(n,!1),e.lanes=4194304);n.isBackwards?(o.sibling=e.child,e.child=o):(t=n.last,t!==null?t.sibling=o:e.child=o,n.last=o)}return n.tail!==null?(t=n.tail,n.rendering=t,n.tail=t.sibling,n.renderingStartTime=pe(),t.sibling=null,a=Qt.current,B(Qt,l?a&1|2:a&1),Nt&&wa(e,n.treeForkCount),t):(qt(e),null);case 22:case 23:return Me(e),wc(),n=e.memoizedState!==null,t!==null?t.memoizedState!==null!==n&&(e.flags|=8192):n&&(e.flags|=8192),n?(a&536870912)!==0&&(e.flags&128)===0&&(qt(e),e.subtreeFlags&6&&(e.flags|=8192)):qt(e),a=e.updateQueue,a!==null&&Mo(e,a.retryQueue),a=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),n=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),n!==a&&(e.flags|=2048),t!==null&&L(jn),null;case 24:return a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),Ca(Kt),qt(e),null;case 25:return null;case 30:return null}throw Error(r(156,e.tag))}function Z0(t,e){switch(rc(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return Ca(Kt),Ct(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return de(e),null;case 31:if(e.memoizedState!==null){if(Me(e),e.alternate===null)throw Error(r(340));_n()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(Me(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(r(340));_n()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return L(Qt),null;case 4:return Ct(),null;case 10:return Ca(e.type),null;case 22:case 23:return Me(e),wc(),t!==null&&L(jn),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return Ca(Kt),null;case 25:return null;default:return null}}function Id(t,e){switch(rc(e),e.tag){case 3:Ca(Kt),Ct();break;case 26:case 27:case 5:de(e);break;case 4:Ct();break;case 31:e.memoizedState!==null&&Me(e);break;case 13:Me(e);break;case 19:L(Qt);break;case 10:Ca(e.type);break;case 22:case 23:Me(e),wc(),t!==null&&L(jn);break;case 24:Ca(Kt)}}function Si(t,e){try{var a=e.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var l=n.next;a=l;do{if((a.tag&t)===t){n=void 0;var o=a.create,u=a.inst;n=o(),u.destroy=n}a=a.next}while(a!==l)}}catch(g){Dt(e,e.return,g)}}function en(t,e,a){try{var n=e.updateQueue,l=n!==null?n.lastEffect:null;if(l!==null){var o=l.next;n=o;do{if((n.tag&t)===t){var u=n.inst,g=u.destroy;if(g!==void 0){u.destroy=void 0,l=e;var S=a,z=g;try{z()}catch(U){Dt(l,S,U)}}}n=n.next}while(n!==o)}}catch(U){Dt(e,e.return,U)}}function Pd(t){var e=t.updateQueue;if(e!==null){var a=t.stateNode;try{kf(e,a)}catch(n){Dt(t,t.return,n)}}}function tm(t,e,a){a.props=qn(t.type,t.memoizedProps),a.state=t.memoizedState;try{a.componentWillUnmount()}catch(n){Dt(t,e,n)}}function Ei(t,e){try{var a=t.ref;if(a!==null){switch(t.tag){case 26:case 27:case 5:var n=t.stateNode;break;case 30:n=t.stateNode;break;default:n=t.stateNode}typeof a=="function"?t.refCleanup=a(n):a.current=n}}catch(l){Dt(t,e,l)}}function fa(t,e){var a=t.ref,n=t.refCleanup;if(a!==null)if(typeof n=="function")try{n()}catch(l){Dt(t,e,l)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(l){Dt(t,e,l)}else a.current=null}function em(t){var e=t.type,a=t.memoizedProps,n=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break t;case"img":a.src?n.src=a.src:a.srcSet&&(n.srcset=a.srcSet)}}catch(l){Dt(t,t.return,l)}}function ar(t,e,a){try{var n=t.stateNode;pv(n,t.type,a,e),n[xe]=e}catch(l){Dt(t,t.return,l)}}function am(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&rn(t.type)||t.tag===4}function nr(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||am(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&rn(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function lr(t,e,a){var n=t.tag;if(n===5||n===6)t=t.stateNode,e?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(t,e):(e=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,e.appendChild(t),a=a._reactRootContainer,a!=null||e.onclick!==null||(e.onclick=Sa));else if(n!==4&&(n===27&&rn(t.type)&&(a=t.stateNode,e=null),t=t.child,t!==null))for(lr(t,e,a),t=t.sibling;t!==null;)lr(t,e,a),t=t.sibling}function Do(t,e,a){var n=t.tag;if(n===5||n===6)t=t.stateNode,e?a.insertBefore(t,e):a.appendChild(t);else if(n!==4&&(n===27&&rn(t.type)&&(a=t.stateNode),t=t.child,t!==null))for(Do(t,e,a),t=t.sibling;t!==null;)Do(t,e,a),t=t.sibling}function nm(t){var e=t.stateNode,a=t.memoizedProps;try{for(var n=t.type,l=e.attributes;l.length;)e.removeAttributeNode(l[0]);ce(e,n,a),e[le]=t,e[xe]=a}catch(o){Dt(t,t.return,o)}}var _a=!1,Ft=!1,ir=!1,lm=typeof WeakSet=="function"?WeakSet:Set,ee=null;function K0(t,e){if(t=t.containerInfo,Cr=ts,t=hf(t),Is(t)){if("selectionStart"in t)var a={start:t.selectionStart,end:t.selectionEnd};else t:{a=(a=t.ownerDocument)&&a.defaultView||window;var n=a.getSelection&&a.getSelection();if(n&&n.rangeCount!==0){a=n.anchorNode;var l=n.anchorOffset,o=n.focusNode;n=n.focusOffset;try{a.nodeType,o.nodeType}catch{a=null;break t}var u=0,g=-1,S=-1,z=0,U=0,k=t,_=null;e:for(;;){for(var j;k!==a||l!==0&&k.nodeType!==3||(g=u+l),k!==o||n!==0&&k.nodeType!==3||(S=u+n),k.nodeType===3&&(u+=k.nodeValue.length),(j=k.firstChild)!==null;)_=k,k=j;for(;;){if(k===t)break e;if(_===a&&++z===l&&(g=u),_===o&&++U===n&&(S=u),(j=k.nextSibling)!==null)break;k=_,_=k.parentNode}k=j}a=g===-1||S===-1?null:{start:g,end:S}}else a=null}a=a||{start:0,end:0}}else a=null;for(Nr={focusedElem:t,selectionRange:a},ts=!1,ee=e;ee!==null;)if(e=ee,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,ee=t;else for(;ee!==null;){switch(e=ee,o=e.alternate,t=e.flags,e.tag){case 0:if((t&4)!==0&&(t=e.updateQueue,t=t!==null?t.events:null,t!==null))for(a=0;a title"))),ce(o,n,a),o[le]=t,te(o),n=o;break t;case"link":var u=up("link","href",l).get(n+(a.href||""));if(u){for(var g=0;gUt&&(u=Ut,Ut=rt,rt=u);var T=pf(g,rt),A=pf(g,Ut);if(T&&A&&(j.rangeCount!==1||j.anchorNode!==T.node||j.anchorOffset!==T.offset||j.focusNode!==A.node||j.focusOffset!==A.offset)){var R=k.createRange();R.setStart(T.node,T.offset),j.removeAllRanges(),rt>Ut?(j.addRange(R),j.extend(A.node,A.offset)):(R.setEnd(A.node,A.offset),j.addRange(R))}}}}for(k=[],j=g;j=j.parentNode;)j.nodeType===1&&k.push({element:j,left:j.scrollLeft,top:j.scrollTop});for(typeof g.focus=="function"&&g.focus(),g=0;ga?32:a,w.T=null,a=dr,dr=null;var o=on,u=Ua;if(Wt=0,Cl=on=null,Ua=0,(_t&6)!==0)throw Error(r(331));var g=_t;if(_t|=4,gm(o.current),dm(o,o.current,u,a),_t=g,Oi(0,!1),ge&&typeof ge.onPostCommitFiberRoot=="function")try{ge.onPostCommitFiberRoot(En,o)}catch{}return!0}finally{G.p=l,w.T=n,Dm(t,e)}}function Hm(t,e,a){e=Ge(a,e),e=Qc(t.stateNode,e,2),t=Ia(t,e,2),t!==null&&(Vt(t,2),da(t))}function Dt(t,e,a){if(t.tag===3)Hm(t,t,a);else for(;e!==null;){if(e.tag===3){Hm(e,t,a);break}else if(e.tag===1){var n=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(ln===null||!ln.has(n))){t=Ge(a,t),a=Ud(2),n=Ia(e,a,2),n!==null&&(Bd(a,n,e,t),Vt(n,2),da(n));break}}e=e.return}}function hr(t,e,a){var n=t.pingCache;if(n===null){n=t.pingCache=new F0;var l=new Set;n.set(e,l)}else l=n.get(e),l===void 0&&(l=new Set,n.set(e,l));l.has(a)||(cr=!0,l.add(a),t=ev.bind(null,t,e,a),e.then(t,t))}function ev(t,e,a){var n=t.pingCache;n!==null&&n.delete(e),t.pingedLanes|=t.suspendedLanes&a,t.warmLanes&=~a,Bt===t&&(wt&a)===a&&(Xt===4||Xt===3&&(wt&62914560)===wt&&300>pe()-Uo?(_t&2)===0&&Nl(t,0):rr|=a,Tl===wt&&(Tl=0)),da(t)}function Um(t,e){e===0&&(e=ue()),t=Rn(t,e),t!==null&&(Vt(t,e),da(t))}function av(t){var e=t.memoizedState,a=0;e!==null&&(a=e.retryLane),Um(t,a)}function nv(t,e){var a=0;switch(t.tag){case 31:case 13:var n=t.stateNode,l=t.memoizedState;l!==null&&(a=l.retryLane);break;case 19:n=t.stateNode;break;case 22:n=t.stateNode._retryCache;break;default:throw Error(r(314))}n!==null&&n.delete(e),Um(t,a)}function lv(t,e){return Ql(t,e)}var ko=null,Rl=null,vr=!1,Xo=!1,yr=!1,cn=0;function da(t){t!==Rl&&t.next===null&&(Rl===null?ko=Rl=t:Rl=Rl.next=t),Xo=!0,vr||(vr=!0,ov())}function Oi(t,e){if(!yr&&Xo){yr=!0;do for(var a=!1,n=ko;n!==null;){if(t!==0){var l=n.pendingLanes;if(l===0)var o=0;else{var u=n.suspendedLanes,g=n.pingedLanes;o=(1<<31-re(42|t)+1)-1,o&=l&~(u&~g),o=o&201326741?o&201326741|1:o?o|2:0}o!==0&&(a=!0,Ym(n,o))}else o=wt,o=ft(n,n===Bt?o:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),(o&3)===0||Yt(n,o)||(a=!0,Ym(n,o));n=n.next}while(a);yr=!1}}function iv(){Bm()}function Bm(){Xo=vr=!1;var t=0;cn!==0&&hv()&&(t=cn);for(var e=pe(),a=null,n=ko;n!==null;){var l=n.next,o=Lm(n,e);o===0?(n.next=null,a===null?ko=l:a.next=l,l===null&&(Rl=a)):(a=n,(t!==0||(o&3)!==0)&&(Xo=!0)),n=l}Wt!==0&&Wt!==5||Oi(t),cn!==0&&(cn=0)}function Lm(t,e){for(var a=t.suspendedLanes,n=t.pingedLanes,l=t.expirationTimes,o=t.pendingLanes&-62914561;0g)break;var U=S.transferSize,k=S.initiatorType;U&&Jm(k)&&(S=S.responseEnd,u+=U*(S"u"?null:document;function op(t,e,a){var n=zl;if(n&&typeof e=="string"&&e){var l=qe(e);l='link[rel="'+t+'"][href="'+l+'"]',typeof a=="string"&&(l+='[crossorigin="'+a+'"]'),ip.has(l)||(ip.add(l),t={rel:t,crossOrigin:a,href:e},n.querySelector(l)===null&&(e=n.createElement("link"),ce(e,"link",t),te(e),n.head.appendChild(e)))}}function Tv(t){Ba.D(t),op("dns-prefetch",t,null)}function Cv(t,e){Ba.C(t,e),op("preconnect",t,e)}function Nv(t,e,a){Ba.L(t,e,a);var n=zl;if(n&&t&&e){var l='link[rel="preload"][as="'+qe(e)+'"]';e==="image"&&a&&a.imageSrcSet?(l+='[imagesrcset="'+qe(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(l+='[imagesizes="'+qe(a.imageSizes)+'"]')):l+='[href="'+qe(t)+'"]';var o=l;switch(e){case"style":o=_l(t);break;case"script":o=Ml(t)}Ke.has(o)||(t=m({rel:"preload",href:e==="image"&&a&&a.imageSrcSet?void 0:t,as:e},a),Ke.set(o,t),n.querySelector(l)!==null||e==="style"&&n.querySelector(Mi(o))||e==="script"&&n.querySelector(Di(o))||(e=n.createElement("link"),ce(e,"link",t),te(e),n.head.appendChild(e)))}}function Ov(t,e){Ba.m(t,e);var a=zl;if(a&&t){var n=e&&typeof e.as=="string"?e.as:"script",l='link[rel="modulepreload"][as="'+qe(n)+'"][href="'+qe(t)+'"]',o=l;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":o=Ml(t)}if(!Ke.has(o)&&(t=m({rel:"modulepreload",href:t},e),Ke.set(o,t),a.querySelector(l)===null)){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(Di(o)))return}n=a.createElement("link"),ce(n,"link",t),te(n),a.head.appendChild(n)}}}function Rv(t,e,a){Ba.S(t,e,a);var n=zl;if(n&&t){var l=Pn(n).hoistableStyles,o=_l(t);e=e||"default";var u=l.get(o);if(!u){var g={loading:0,preload:null};if(u=n.querySelector(Mi(o)))g.loading=5;else{t=m({rel:"stylesheet",href:t,"data-precedence":e},a),(a=Ke.get(o))&&jr(t,a);var S=u=n.createElement("link");te(S),ce(S,"link",t),S._p=new Promise(function(z,U){S.onload=z,S.onerror=U}),S.addEventListener("load",function(){g.loading|=1}),S.addEventListener("error",function(){g.loading|=2}),g.loading|=4,$o(u,e,n)}u={type:"stylesheet",instance:u,count:1,state:g},l.set(o,u)}}}function zv(t,e){Ba.X(t,e);var a=zl;if(a&&t){var n=Pn(a).hoistableScripts,l=Ml(t),o=n.get(l);o||(o=a.querySelector(Di(l)),o||(t=m({src:t,async:!0},e),(e=Ke.get(l))&&Hr(t,e),o=a.createElement("script"),te(o),ce(o,"link",t),a.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},n.set(l,o))}}function _v(t,e){Ba.M(t,e);var a=zl;if(a&&t){var n=Pn(a).hoistableScripts,l=Ml(t),o=n.get(l);o||(o=a.querySelector(Di(l)),o||(t=m({src:t,async:!0,type:"module"},e),(e=Ke.get(l))&&Hr(t,e),o=a.createElement("script"),te(o),ce(o,"link",t),a.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},n.set(l,o))}}function sp(t,e,a,n){var l=(l=ot.current)?Jo(l):null;if(!l)throw Error(r(446));switch(t){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(e=_l(a.href),a=Pn(l).hoistableStyles,n=a.get(e),n||(n={type:"style",instance:null,count:0,state:null},a.set(e,n)),n):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){t=_l(a.href);var o=Pn(l).hoistableStyles,u=o.get(t);if(u||(l=l.ownerDocument||l,u={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},o.set(t,u),(o=l.querySelector(Mi(t)))&&!o._p&&(u.instance=o,u.state.loading=5),Ke.has(t)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},Ke.set(t,a),o||Mv(l,t,a,u.state))),e&&n===null)throw Error(r(528,""));return u}if(e&&n!==null)throw Error(r(529,""));return null;case"script":return e=a.async,a=a.src,typeof a=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=Ml(a),a=Pn(l).hoistableScripts,n=a.get(e),n||(n={type:"script",instance:null,count:0,state:null},a.set(e,n)),n):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,t))}}function _l(t){return'href="'+qe(t)+'"'}function Mi(t){return'link[rel="stylesheet"]['+t+"]"}function cp(t){return m({},t,{"data-precedence":t.precedence,precedence:null})}function Mv(t,e,a,n){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?n.loading=1:(e=t.createElement("link"),n.preload=e,e.addEventListener("load",function(){return n.loading|=1}),e.addEventListener("error",function(){return n.loading|=2}),ce(e,"link",a),te(e),t.head.appendChild(e))}function Ml(t){return'[src="'+qe(t)+'"]'}function Di(t){return"script[async]"+t}function rp(t,e,a){if(e.count++,e.instance===null)switch(e.type){case"style":var n=t.querySelector('style[data-href~="'+qe(a.href)+'"]');if(n)return e.instance=n,te(n),n;var l=m({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return n=(t.ownerDocument||t).createElement("style"),te(n),ce(n,"style",l),$o(n,a.precedence,t),e.instance=n;case"stylesheet":l=_l(a.href);var o=t.querySelector(Mi(l));if(o)return e.state.loading|=4,e.instance=o,te(o),o;n=cp(a),(l=Ke.get(l))&&jr(n,l),o=(t.ownerDocument||t).createElement("link"),te(o);var u=o;return u._p=new Promise(function(g,S){u.onload=g,u.onerror=S}),ce(o,"link",n),e.state.loading|=4,$o(o,a.precedence,t),e.instance=o;case"script":return o=Ml(a.src),(l=t.querySelector(Di(o)))?(e.instance=l,te(l),l):(n=a,(l=Ke.get(o))&&(n=m({},a),Hr(n,l)),t=t.ownerDocument||t,l=t.createElement("script"),te(l),ce(l,"link",n),t.head.appendChild(l),e.instance=l);case"void":return null;default:throw Error(r(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(n=e.instance,e.state.loading|=4,$o(n,a.precedence,t));return e.instance}function $o(t,e,a){for(var n=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),l=n.length?n[n.length-1]:null,o=l,u=0;u title"):null)}function Dv(t,e,a){if(a===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function dp(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function jv(t,e,a,n){if(a.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var l=_l(n.href),o=e.querySelector(Mi(l));if(o){e=o._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=Wo.bind(t),e.then(t,t)),a.state.loading|=4,a.instance=o,te(o);return}o=e.ownerDocument||e,n=cp(n),(l=Ke.get(l))&&jr(n,l),o=o.createElement("link"),te(o);var u=o;u._p=new Promise(function(g,S){u.onload=g,u.onerror=S}),ce(o,"link",n),a.instance=o}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(a,e),(e=a.state.preload)&&(a.state.loading&3)===0&&(t.count++,a=Wo.bind(t),e.addEventListener("load",a),e.addEventListener("error",a))}}var Ur=0;function Hv(t,e){return t.stylesheets&&t.count===0&&Po(t,t.stylesheets),0Ur?50:800)+e);return t.unsuspend=a,function(){t.unsuspend=null,clearTimeout(n),clearTimeout(l)}}:null}function Wo(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Po(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Io=null;function Po(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Io=new Map,e.forEach(Uv,t),Io=null,Wo.call(t))}function Uv(t,e){if(!(e.state.loading&4)){var a=Io.get(t);if(a)var n=a.get(null);else{a=new Map,Io.set(t,a);for(var l=t.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(s){console.error(s)}}return i(),Xr.exports=Iv(),Xr.exports}var ty=Pv(),N=bs();const X=pg(N),mu=Qv({__proto__:null,default:X},[N]);var ey=(i,s,c,r,f,d,h,b)=>{let v=document.documentElement,p=["light","dark"];function x(O){(Array.isArray(i)?i:[i]).forEach(M=>{let H=M==="class",q=H&&d?f.map(Y=>d[Y]||Y):f;H?(v.classList.remove(...q),v.classList.add(d&&d[O]?d[O]:O)):v.setAttribute(M,O)}),m(O)}function m(O){b&&p.includes(O)&&(v.style.colorScheme=O)}function C(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(r)x(r);else try{let O=localStorage.getItem(s)||c,M=h&&O==="system"?C():O;x(M)}catch{}},ay=N.createContext(void 0),ny={setTheme:i=>{},themes:[]},ly=()=>{var i;return(i=N.useContext(ay))!=null?i:ny};N.memo(({forcedTheme:i,storageKey:s,attribute:c,enableSystem:r,enableColorScheme:f,defaultTheme:d,value:h,themes:b,nonce:v,scriptProps:p})=>{let x=JSON.stringify([c,s,d,i,b,h,r,f]).slice(1,-1);return N.createElement("script",{...p,suppressHydrationWarning:!0,nonce:typeof window>"u"?v:"",dangerouslySetInnerHTML:{__html:`(${ey.toString()})(${x})`}})});var pu=gg();const iy=pg(pu);function oy(i){if(typeof document>"u")return;let s=document.head||document.getElementsByTagName("head")[0],c=document.createElement("style");c.type="text/css",s.appendChild(c),c.styleSheet?c.styleSheet.cssText=i:c.appendChild(document.createTextNode(i))}const sy=i=>{switch(i){case"success":return uy;case"info":return dy;case"warning":return fy;case"error":return my;default:return null}},cy=Array(12).fill(0),ry=({visible:i,className:s})=>X.createElement("div",{className:["sonner-loading-wrapper",s].filter(Boolean).join(" "),"data-visible":i},X.createElement("div",{className:"sonner-spinner"},cy.map((c,r)=>X.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),uy=X.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},X.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),fy=X.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},X.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),dy=X.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},X.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),my=X.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},X.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),py=X.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},X.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),X.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),gy=()=>{const[i,s]=X.useState(document.hidden);return X.useEffect(()=>{const c=()=>{s(document.hidden)};return document.addEventListener("visibilitychange",c),()=>window.removeEventListener("visibilitychange",c)},[]),i};let au=1;class hy{constructor(){this.subscribe=s=>(this.subscribers.push(s),()=>{const c=this.subscribers.indexOf(s);this.subscribers.splice(c,1)}),this.publish=s=>{this.subscribers.forEach(c=>c(s))},this.addToast=s=>{this.publish(s),this.toasts=[...this.toasts,s]},this.create=s=>{var c;const{message:r,...f}=s,d=typeof s?.id=="number"||((c=s.id)==null?void 0:c.length)>0?s.id:au++,h=this.toasts.find(v=>v.id===d),b=s.dismissible===void 0?!0:s.dismissible;return this.dismissedToasts.has(d)&&this.dismissedToasts.delete(d),h?this.toasts=this.toasts.map(v=>v.id===d?(this.publish({...v,...s,id:d,title:r}),{...v,...s,id:d,dismissible:b,title:r}):v):this.addToast({title:r,...f,dismissible:b,id:d}),d},this.dismiss=s=>(s?(this.dismissedToasts.add(s),requestAnimationFrame(()=>this.subscribers.forEach(c=>c({id:s,dismiss:!0})))):this.toasts.forEach(c=>{this.subscribers.forEach(r=>r({id:c.id,dismiss:!0}))}),s),this.message=(s,c)=>this.create({...c,message:s}),this.error=(s,c)=>this.create({...c,message:s,type:"error"}),this.success=(s,c)=>this.create({...c,type:"success",message:s}),this.info=(s,c)=>this.create({...c,type:"info",message:s}),this.warning=(s,c)=>this.create({...c,type:"warning",message:s}),this.loading=(s,c)=>this.create({...c,type:"loading",message:s}),this.promise=(s,c)=>{if(!c)return;let r;c.loading!==void 0&&(r=this.create({...c,promise:s,type:"loading",message:c.loading,description:typeof c.description!="function"?c.description:void 0}));const f=Promise.resolve(s instanceof Function?s():s);let d=r!==void 0,h;const b=f.then(async p=>{if(h=["resolve",p],X.isValidElement(p))d=!1,this.create({id:r,type:"default",message:p});else if(yy(p)&&!p.ok){d=!1;const m=typeof c.error=="function"?await c.error(`HTTP error! status: ${p.status}`):c.error,C=typeof c.description=="function"?await c.description(`HTTP error! status: ${p.status}`):c.description,M=typeof m=="object"&&!X.isValidElement(m)?m:{message:m};this.create({id:r,type:"error",description:C,...M})}else if(p instanceof Error){d=!1;const m=typeof c.error=="function"?await c.error(p):c.error,C=typeof c.description=="function"?await c.description(p):c.description,M=typeof m=="object"&&!X.isValidElement(m)?m:{message:m};this.create({id:r,type:"error",description:C,...M})}else if(c.success!==void 0){d=!1;const m=typeof c.success=="function"?await c.success(p):c.success,C=typeof c.description=="function"?await c.description(p):c.description,M=typeof m=="object"&&!X.isValidElement(m)?m:{message:m};this.create({id:r,type:"success",description:C,...M})}}).catch(async p=>{if(h=["reject",p],c.error!==void 0){d=!1;const x=typeof c.error=="function"?await c.error(p):c.error,m=typeof c.description=="function"?await c.description(p):c.description,O=typeof x=="object"&&!X.isValidElement(x)?x:{message:x};this.create({id:r,type:"error",description:m,...O})}}).finally(()=>{d&&(this.dismiss(r),r=void 0),c.finally==null||c.finally.call(c)}),v=()=>new Promise((p,x)=>b.then(()=>h[0]==="reject"?x(h[1]):p(h[1])).catch(x));return typeof r!="string"&&typeof r!="number"?{unwrap:v}:Object.assign(r,{unwrap:v})},this.custom=(s,c)=>{const r=c?.id||au++;return this.create({jsx:s(r),id:r,...c}),r},this.getActiveToasts=()=>this.toasts.filter(s=>!this.dismissedToasts.has(s.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const Ne=new hy,vy=(i,s)=>{const c=s?.id||au++;return Ne.addToast({title:i,...s,id:c}),c},yy=i=>i&&typeof i=="object"&&"ok"in i&&typeof i.ok=="boolean"&&"status"in i&&typeof i.status=="number",by=vy,xy=()=>Ne.toasts,Sy=()=>Ne.getActiveToasts();Object.assign(by,{success:Ne.success,info:Ne.info,warning:Ne.warning,error:Ne.error,custom:Ne.custom,message:Ne.message,promise:Ne.promise,dismiss:Ne.dismiss,loading:Ne.loading},{getHistory:xy,getToasts:Sy});oy("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function ss(i){return i.label!==void 0}const Ey=3,Ay="24px",wy="16px",Up=4e3,Ty=356,Cy=14,Ny=45,Oy=200;function ma(...i){return i.filter(Boolean).join(" ")}function Ry(i){const[s,c]=i.split("-"),r=[];return s&&r.push(s),c&&r.push(c),r}const zy=i=>{var s,c,r,f,d,h,b,v,p;const{invert:x,toast:m,unstyled:C,interacting:O,setHeights:M,visibleToasts:H,heights:q,index:Y,toasts:K,expanded:$,removeToast:F,defaultRichColors:I,closeButton:P,style:Z,cancelButtonStyle:J,actionButtonStyle:mt,className:St="",descriptionClassName:Ot="",duration:gt,position:ht,gap:yt,expandByDefault:xt,classNames:w,icons:G,closeButtonAriaLabel:D="Close toast"}=i,[it,ct]=X.useState(null),[E,L]=X.useState(null),[B,Q]=X.useState(!1),[W,ot]=X.useState(!1),[nt,ut]=X.useState(!1),[Ct,ae]=X.useState(!1),[de,ne]=X.useState(!1),[ya,Fe]=X.useState(0),[kl,Zn]=X.useState(0),bn=X.useRef(m.duration||gt||Up),Xl=X.useRef(null),Oe=X.useRef(null),Ql=Y===0,Zl=Y+1<=H,me=m.type,Ga=m.dismissible!==!1,pe=m.className||"",_s=m.descriptionClassName||"",xn=X.useMemo(()=>q.findIndex(ft=>ft.toastId===m.id)||0,[q,m.id]),Zi=X.useMemo(()=>{var ft;return(ft=m.closeButton)!=null?ft:P},[m.closeButton,P]),Sn=X.useMemo(()=>m.duration||gt||Up,[m.duration,gt]),Kl=X.useRef(0),ba=X.useRef(0),Ki=X.useRef(0),Va=X.useRef(null),[En,ge]=ht.split("-"),We=X.useMemo(()=>q.reduce((ft,Yt,Pt)=>Pt>=xn?ft:ft+Yt.height,0),[q,xn]),re=gy(),Ms=m.invert||x,Jl=me==="loading";ba.current=X.useMemo(()=>xn*yt+We,[xn,We]),X.useEffect(()=>{bn.current=Sn},[Sn]),X.useEffect(()=>{Q(!0)},[]),X.useEffect(()=>{const ft=Oe.current;if(ft){const Yt=ft.getBoundingClientRect().height;return Zn(Yt),M(Pt=>[{toastId:m.id,height:Yt,position:m.position},...Pt]),()=>M(Pt=>Pt.filter(ue=>ue.toastId!==m.id))}},[M,m.id]),X.useLayoutEffect(()=>{if(!B)return;const ft=Oe.current,Yt=ft.style.height;ft.style.height="auto";const Pt=ft.getBoundingClientRect().height;ft.style.height=Yt,Zn(Pt),M(ue=>ue.find(Vt=>Vt.toastId===m.id)?ue.map(Vt=>Vt.toastId===m.id?{...Vt,height:Pt}:Vt):[{toastId:m.id,height:Pt,position:m.position},...ue])},[B,m.title,m.description,M,m.id,m.jsx,m.action,m.cancel]);const sa=X.useCallback(()=>{ot(!0),Fe(ba.current),M(ft=>ft.filter(Yt=>Yt.toastId!==m.id)),setTimeout(()=>{F(m)},Oy)},[m,F,M,ba]);X.useEffect(()=>{if(m.promise&&me==="loading"||m.duration===1/0||m.type==="loading")return;let ft;return $||O||re?(()=>{if(Ki.current{bn.current!==1/0&&(Kl.current=new Date().getTime(),ft=setTimeout(()=>{m.onAutoClose==null||m.onAutoClose.call(m,m),sa()},bn.current))})(),()=>clearTimeout(ft)},[$,O,m,me,re,sa]),X.useEffect(()=>{m.delete&&(sa(),m.onDismiss==null||m.onDismiss.call(m,m))},[sa,m.delete]);function Kn(){var ft;if(G?.loading){var Yt;return X.createElement("div",{className:ma(w?.loader,m==null||(Yt=m.classNames)==null?void 0:Yt.loader,"sonner-loader"),"data-visible":me==="loading"},G.loading)}return X.createElement(ry,{className:ma(w?.loader,m==null||(ft=m.classNames)==null?void 0:ft.loader),visible:me==="loading"})}const Jn=m.icon||G?.[me]||sy(me);var An,ca;return X.createElement("li",{tabIndex:0,ref:Oe,className:ma(St,pe,w?.toast,m==null||(s=m.classNames)==null?void 0:s.toast,w?.default,w?.[me],m==null||(c=m.classNames)==null?void 0:c[me]),"data-sonner-toast":"","data-rich-colors":(An=m.richColors)!=null?An:I,"data-styled":!(m.jsx||m.unstyled||C),"data-mounted":B,"data-promise":!!m.promise,"data-swiped":de,"data-removed":W,"data-visible":Zl,"data-y-position":En,"data-x-position":ge,"data-index":Y,"data-front":Ql,"data-swiping":nt,"data-dismissible":Ga,"data-type":me,"data-invert":Ms,"data-swipe-out":Ct,"data-swipe-direction":E,"data-expanded":!!($||xt&&B),"data-testid":m.testId,style:{"--index":Y,"--toasts-before":Y,"--z-index":K.length-Y,"--offset":`${W?ya:ba.current}px`,"--initial-height":xt?"auto":`${kl}px`,...Z,...m.style},onDragEnd:()=>{ut(!1),ct(null),Va.current=null},onPointerDown:ft=>{ft.button!==2&&(Jl||!Ga||(Xl.current=new Date,Fe(ba.current),ft.target.setPointerCapture(ft.pointerId),ft.target.tagName!=="BUTTON"&&(ut(!0),Va.current={x:ft.clientX,y:ft.clientY})))},onPointerUp:()=>{var ft,Yt,Pt;if(Ct||!Ga)return;Va.current=null;const ue=Number(((ft=Oe.current)==null?void 0:ft.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),ka=Number(((Yt=Oe.current)==null?void 0:Yt.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Vt=new Date().getTime()-((Pt=Xl.current)==null?void 0:Pt.getTime()),ve=it==="x"?ue:ka,wn=Math.abs(ve)/Vt;if(Math.abs(ve)>=Ny||wn>.11){Fe(ba.current),m.onDismiss==null||m.onDismiss.call(m,m),L(it==="x"?ue>0?"right":"left":ka>0?"down":"up"),sa(),ae(!0);return}else{var ye,be;(ye=Oe.current)==null||ye.style.setProperty("--swipe-amount-x","0px"),(be=Oe.current)==null||be.style.setProperty("--swipe-amount-y","0px")}ne(!1),ut(!1),ct(null)},onPointerMove:ft=>{var Yt,Pt,ue;if(!Va.current||!Ga||((Yt=window.getSelection())==null?void 0:Yt.toString().length)>0)return;const Vt=ft.clientY-Va.current.y,ve=ft.clientX-Va.current.x;var wn;const ye=(wn=i.swipeDirections)!=null?wn:Ry(ht);!it&&(Math.abs(ve)>1||Math.abs(Vt)>1)&&ct(Math.abs(ve)>Math.abs(Vt)?"x":"y");let be={x:0,y:0};const $n=Ie=>1/(1.5+Math.abs(Ie)/20);if(it==="y"){if(ye.includes("top")||ye.includes("bottom"))if(ye.includes("top")&&Vt<0||ye.includes("bottom")&&Vt>0)be.y=Vt;else{const Ie=Vt*$n(Vt);be.y=Math.abs(Ie)0)be.x=ve;else{const Ie=ve*$n(ve);be.x=Math.abs(Ie)0||Math.abs(be.y)>0)&&ne(!0),(Pt=Oe.current)==null||Pt.style.setProperty("--swipe-amount-x",`${be.x}px`),(ue=Oe.current)==null||ue.style.setProperty("--swipe-amount-y",`${be.y}px`)}},Zi&&!m.jsx&&me!=="loading"?X.createElement("button",{"aria-label":D,"data-disabled":Jl,"data-close-button":!0,onClick:Jl||!Ga?()=>{}:()=>{sa(),m.onDismiss==null||m.onDismiss.call(m,m)},className:ma(w?.closeButton,m==null||(r=m.classNames)==null?void 0:r.closeButton)},(ca=G?.close)!=null?ca:py):null,(me||m.icon||m.promise)&&m.icon!==null&&(G?.[me]!==null||m.icon)?X.createElement("div",{"data-icon":"",className:ma(w?.icon,m==null||(f=m.classNames)==null?void 0:f.icon)},m.promise||m.type==="loading"&&!m.icon?m.icon||Kn():null,m.type!=="loading"?Jn:null):null,X.createElement("div",{"data-content":"",className:ma(w?.content,m==null||(d=m.classNames)==null?void 0:d.content)},X.createElement("div",{"data-title":"",className:ma(w?.title,m==null||(h=m.classNames)==null?void 0:h.title)},m.jsx?m.jsx:typeof m.title=="function"?m.title():m.title),m.description?X.createElement("div",{"data-description":"",className:ma(Ot,_s,w?.description,m==null||(b=m.classNames)==null?void 0:b.description)},typeof m.description=="function"?m.description():m.description):null),X.isValidElement(m.cancel)?m.cancel:m.cancel&&ss(m.cancel)?X.createElement("button",{"data-button":!0,"data-cancel":!0,style:m.cancelButtonStyle||J,onClick:ft=>{ss(m.cancel)&&Ga&&(m.cancel.onClick==null||m.cancel.onClick.call(m.cancel,ft),sa())},className:ma(w?.cancelButton,m==null||(v=m.classNames)==null?void 0:v.cancelButton)},m.cancel.label):null,X.isValidElement(m.action)?m.action:m.action&&ss(m.action)?X.createElement("button",{"data-button":!0,"data-action":!0,style:m.actionButtonStyle||mt,onClick:ft=>{ss(m.action)&&(m.action.onClick==null||m.action.onClick.call(m.action,ft),!ft.defaultPrevented&&sa())},className:ma(w?.actionButton,m==null||(p=m.classNames)==null?void 0:p.actionButton)},m.action.label):null)};function Bp(){if(typeof window>"u"||typeof document>"u")return"ltr";const i=document.documentElement.getAttribute("dir");return i==="auto"||!i?window.getComputedStyle(document.documentElement).direction:i}function _y(i,s){const c={};return[i,s].forEach((r,f)=>{const d=f===1,h=d?"--mobile-offset":"--offset",b=d?wy:Ay;function v(p){["top","right","bottom","left"].forEach(x=>{c[`${h}-${x}`]=typeof p=="number"?`${p}px`:p})}typeof r=="number"||typeof r=="string"?v(r):typeof r=="object"?["top","right","bottom","left"].forEach(p=>{r[p]===void 0?c[`${h}-${p}`]=b:c[`${h}-${p}`]=typeof r[p]=="number"?`${r[p]}px`:r[p]}):v(b)}),c}const My=X.forwardRef(function(s,c){const{id:r,invert:f,position:d="bottom-right",hotkey:h=["altKey","KeyT"],expand:b,closeButton:v,className:p,offset:x,mobileOffset:m,theme:C="light",richColors:O,duration:M,style:H,visibleToasts:q=Ey,toastOptions:Y,dir:K=Bp(),gap:$=Cy,icons:F,containerAriaLabel:I="Notifications"}=s,[P,Z]=X.useState([]),J=X.useMemo(()=>r?P.filter(B=>B.toasterId===r):P.filter(B=>!B.toasterId),[P,r]),mt=X.useMemo(()=>Array.from(new Set([d].concat(J.filter(B=>B.position).map(B=>B.position)))),[J,d]),[St,Ot]=X.useState([]),[gt,ht]=X.useState(!1),[yt,xt]=X.useState(!1),[w,G]=X.useState(C!=="system"?C:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),D=X.useRef(null),it=h.join("+").replace(/Key/g,"").replace(/Digit/g,""),ct=X.useRef(null),E=X.useRef(!1),L=X.useCallback(B=>{Z(Q=>{var W;return(W=Q.find(ot=>ot.id===B.id))!=null&&W.delete||Ne.dismiss(B.id),Q.filter(({id:ot})=>ot!==B.id)})},[]);return X.useEffect(()=>Ne.subscribe(B=>{if(B.dismiss){requestAnimationFrame(()=>{Z(Q=>Q.map(W=>W.id===B.id?{...W,delete:!0}:W))});return}setTimeout(()=>{iy.flushSync(()=>{Z(Q=>{const W=Q.findIndex(ot=>ot.id===B.id);return W!==-1?[...Q.slice(0,W),{...Q[W],...B},...Q.slice(W+1)]:[B,...Q]})})})}),[P]),X.useEffect(()=>{if(C!=="system"){G(C);return}if(C==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?G("dark"):G("light")),typeof window>"u")return;const B=window.matchMedia("(prefers-color-scheme: dark)");try{B.addEventListener("change",({matches:Q})=>{G(Q?"dark":"light")})}catch{B.addListener(({matches:W})=>{try{G(W?"dark":"light")}catch(ot){console.error(ot)}})}},[C]),X.useEffect(()=>{P.length<=1&&ht(!1)},[P]),X.useEffect(()=>{const B=Q=>{var W;if(h.every(ut=>Q[ut]||Q.code===ut)){var nt;ht(!0),(nt=D.current)==null||nt.focus()}Q.code==="Escape"&&(document.activeElement===D.current||(W=D.current)!=null&&W.contains(document.activeElement))&&ht(!1)};return document.addEventListener("keydown",B),()=>document.removeEventListener("keydown",B)},[h]),X.useEffect(()=>{if(D.current)return()=>{ct.current&&(ct.current.focus({preventScroll:!0}),ct.current=null,E.current=!1)}},[D.current]),X.createElement("section",{ref:c,"aria-label":`${I} ${it}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},mt.map((B,Q)=>{var W;const[ot,nt]=B.split("-");return J.length?X.createElement("ol",{key:B,dir:K==="auto"?Bp():K,tabIndex:-1,ref:D,className:p,"data-sonner-toaster":!0,"data-sonner-theme":w,"data-y-position":ot,"data-x-position":nt,style:{"--front-toast-height":`${((W=St[0])==null?void 0:W.height)||0}px`,"--width":`${Ty}px`,"--gap":`${$}px`,...H,..._y(x,m)},onBlur:ut=>{E.current&&!ut.currentTarget.contains(ut.relatedTarget)&&(E.current=!1,ct.current&&(ct.current.focus({preventScroll:!0}),ct.current=null))},onFocus:ut=>{ut.target instanceof HTMLElement&&ut.target.dataset.dismissible==="false"||E.current||(E.current=!0,ct.current=ut.relatedTarget)},onMouseEnter:()=>ht(!0),onMouseMove:()=>ht(!0),onMouseLeave:()=>{yt||ht(!1)},onDragEnd:()=>ht(!1),onPointerDown:ut=>{ut.target instanceof HTMLElement&&ut.target.dataset.dismissible==="false"||xt(!0)},onPointerUp:()=>xt(!1)},J.filter(ut=>!ut.position&&Q===0||ut.position===B).map((ut,Ct)=>{var ae,de;return X.createElement(zy,{key:ut.id,icons:F,index:Ct,toast:ut,defaultRichColors:O,duration:(ae=Y?.duration)!=null?ae:M,className:Y?.className,descriptionClassName:Y?.descriptionClassName,invert:f,visibleToasts:q,closeButton:(de=Y?.closeButton)!=null?de:v,interacting:yt,position:B,style:Y?.style,unstyled:Y?.unstyled,classNames:Y?.classNames,cancelButtonStyle:Y?.cancelButtonStyle,actionButtonStyle:Y?.actionButtonStyle,closeButtonAriaLabel:Y?.closeButtonAriaLabel,removeToast:L,toasts:J.filter(ne=>ne.position==ut.position),heights:St.filter(ne=>ne.position==ut.position),setHeights:Ot,expandByDefault:b,gap:$,expanded:gt,swipeDirections:s.swipeDirections})})):null}))}),Dy=({...i})=>{const{theme:s="system"}=ly();return y.jsx(My,{"data-loc":"client/src/components/ui/sonner.tsx:8",theme:s,className:"toaster group",style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)"},...i})};function aa(i,s,{checkForDefaultPrevented:c=!0}={}){return function(f){if(i?.(f),c===!1||!f.defaultPrevented)return s?.(f)}}function Lp(i,s){if(typeof i=="function")return i(s);i!=null&&(i.current=s)}function hg(...i){return s=>{let c=!1;const r=i.map(f=>{const d=Lp(f,s);return!c&&typeof d=="function"&&(c=!0),d});if(c)return()=>{for(let f=0;f{const{scope:C,children:O,...M}=m,H=C?.[i]?.[v]||b,q=N.useMemo(()=>M,Object.values(M));return y.jsx(H.Provider,{value:q,children:O})};p.displayName=d+"Provider";function x(m,C){const O=C?.[i]?.[v]||b,M=N.useContext(O);if(M)return M;if(h!==void 0)return h;throw new Error(`\`${m}\` must be used within \`${d}\``)}return[p,x]}const f=()=>{const d=c.map(h=>N.createContext(h));return function(b){const v=b?.[i]||d;return N.useMemo(()=>({[`__scope${i}`]:{...b,[i]:v}}),[b,v])}};return f.scopeName=i,[r,jy(f,...s)]}function jy(...i){const s=i[0];if(i.length===1)return s;const c=()=>{const r=i.map(f=>({useScope:f(),scopeName:f.scopeName}));return function(d){const h=r.reduce((b,{useScope:v,scopeName:p})=>{const m=v(d)[`__scope${p}`];return{...b,...m}},{});return N.useMemo(()=>({[`__scope${s.scopeName}`]:h}),[h])}};return c.scopeName=s.scopeName,c}function ms(i){const s=Uy(i),c=N.forwardRef((r,f)=>{const{children:d,...h}=r,b=N.Children.toArray(d),v=b.find(Ly);if(v){const p=v.props.children,x=b.map(m=>m===v?N.Children.count(p)>1?N.Children.only(null):N.isValidElement(p)?p.props.children:null:m);return y.jsx(s,{...h,ref:f,children:N.isValidElement(p)?N.cloneElement(p,void 0,x):null})}return y.jsx(s,{...h,ref:f,children:d})});return c.displayName=`${i}.Slot`,c}var Hy=ms("Slot");function Uy(i){const s=N.forwardRef((c,r)=>{const{children:f,...d}=c;if(N.isValidElement(f)){const h=Yy(f),b=qy(d,f.props);return f.type!==N.Fragment&&(b.ref=r?hg(r,h):h),N.cloneElement(f,b)}return N.Children.count(f)>1?N.Children.only(null):null});return s.displayName=`${i}.SlotClone`,s}var vg=Symbol("radix.slottable");function By(i){const s=({children:c})=>y.jsx(y.Fragment,{children:c});return s.displayName=`${i}.Slottable`,s.__radixId=vg,s}function Ly(i){return N.isValidElement(i)&&typeof i.type=="function"&&"__radixId"in i.type&&i.type.__radixId===vg}function qy(i,s){const c={...s};for(const r in s){const f=i[r],d=s[r];/^on[A-Z]/.test(r)?f&&d?c[r]=(...b)=>{const v=d(...b);return f(...b),v}:f&&(c[r]=f):r==="style"?c[r]={...f,...d}:r==="className"&&(c[r]=[f,d].filter(Boolean).join(" "))}return{...i,...c}}function Yy(i){let s=Object.getOwnPropertyDescriptor(i.props,"ref")?.get,c=s&&"isReactWarning"in s&&s.isReactWarning;return c?i.ref:(s=Object.getOwnPropertyDescriptor(i,"ref")?.get,c=s&&"isReactWarning"in s&&s.isReactWarning,c?i.props.ref:i.props.ref||i.ref)}var Gy=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Je=Gy.reduce((i,s)=>{const c=ms(`Primitive.${s}`),r=N.forwardRef((f,d)=>{const{asChild:h,...b}=f,v=h?c:s;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),y.jsx(v,{...b,ref:d})});return r.displayName=`Primitive.${s}`,{...i,[s]:r}},{});function Vy(i,s){i&&pu.flushSync(()=>i.dispatchEvent(s))}function xs(i){const s=N.useRef(i);return N.useEffect(()=>{s.current=i}),N.useMemo(()=>(...c)=>s.current?.(...c),[])}function ky(i,s=globalThis?.document){const c=xs(i);N.useEffect(()=>{const r=f=>{f.key==="Escape"&&c(f)};return s.addEventListener("keydown",r,{capture:!0}),()=>s.removeEventListener("keydown",r,{capture:!0})},[c,s])}var Xy="DismissableLayer",nu="dismissableLayer.update",Qy="dismissableLayer.pointerDownOutside",Zy="dismissableLayer.focusOutside",qp,yg=N.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),bg=N.forwardRef((i,s)=>{const{disableOutsidePointerEvents:c=!1,onEscapeKeyDown:r,onPointerDownOutside:f,onFocusOutside:d,onInteractOutside:h,onDismiss:b,...v}=i,p=N.useContext(yg),[x,m]=N.useState(null),C=x?.ownerDocument??globalThis?.document,[,O]=N.useState({}),M=na(s,Z=>m(Z)),H=Array.from(p.layers),[q]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),Y=H.indexOf(q),K=x?H.indexOf(x):-1,$=p.layersWithOutsidePointerEventsDisabled.size>0,F=K>=Y,I=$y(Z=>{const J=Z.target,mt=[...p.branches].some(St=>St.contains(J));!F||mt||(f?.(Z),h?.(Z),Z.defaultPrevented||b?.())},C),P=Fy(Z=>{const J=Z.target;[...p.branches].some(St=>St.contains(J))||(d?.(Z),h?.(Z),Z.defaultPrevented||b?.())},C);return ky(Z=>{K===p.layers.size-1&&(r?.(Z),!Z.defaultPrevented&&b&&(Z.preventDefault(),b()))},C),N.useEffect(()=>{if(x)return c&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(qp=C.body.style.pointerEvents,C.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(x)),p.layers.add(x),Yp(),()=>{c&&p.layersWithOutsidePointerEventsDisabled.size===1&&(C.body.style.pointerEvents=qp)}},[x,C,c,p]),N.useEffect(()=>()=>{x&&(p.layers.delete(x),p.layersWithOutsidePointerEventsDisabled.delete(x),Yp())},[x,p]),N.useEffect(()=>{const Z=()=>O({});return document.addEventListener(nu,Z),()=>document.removeEventListener(nu,Z)},[]),y.jsx(Je.div,{...v,ref:M,style:{pointerEvents:$?F?"auto":"none":void 0,...i.style},onFocusCapture:aa(i.onFocusCapture,P.onFocusCapture),onBlurCapture:aa(i.onBlurCapture,P.onBlurCapture),onPointerDownCapture:aa(i.onPointerDownCapture,I.onPointerDownCapture)})});bg.displayName=Xy;var Ky="DismissableLayerBranch",Jy=N.forwardRef((i,s)=>{const c=N.useContext(yg),r=N.useRef(null),f=na(s,r);return N.useEffect(()=>{const d=r.current;if(d)return c.branches.add(d),()=>{c.branches.delete(d)}},[c.branches]),y.jsx(Je.div,{...i,ref:f})});Jy.displayName=Ky;function $y(i,s=globalThis?.document){const c=xs(i),r=N.useRef(!1),f=N.useRef(()=>{});return N.useEffect(()=>{const d=b=>{if(b.target&&!r.current){let v=function(){xg(Qy,c,p,{discrete:!0})};const p={originalEvent:b};b.pointerType==="touch"?(s.removeEventListener("click",f.current),f.current=v,s.addEventListener("click",f.current,{once:!0})):v()}else s.removeEventListener("click",f.current);r.current=!1},h=window.setTimeout(()=>{s.addEventListener("pointerdown",d)},0);return()=>{window.clearTimeout(h),s.removeEventListener("pointerdown",d),s.removeEventListener("click",f.current)}},[s,c]),{onPointerDownCapture:()=>r.current=!0}}function Fy(i,s=globalThis?.document){const c=xs(i),r=N.useRef(!1);return N.useEffect(()=>{const f=d=>{d.target&&!r.current&&xg(Zy,c,{originalEvent:d},{discrete:!1})};return s.addEventListener("focusin",f),()=>s.removeEventListener("focusin",f)},[s,c]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Yp(){const i=new CustomEvent(nu);document.dispatchEvent(i)}function xg(i,s,c,{discrete:r}){const f=c.originalEvent.target,d=new CustomEvent(i,{bubbles:!1,cancelable:!0,detail:c});s&&f.addEventListener(i,s,{once:!0}),r?Vy(f,d):f.dispatchEvent(d)}var hn=globalThis?.document?N.useLayoutEffect:()=>{},Wy=mu[" useId ".trim().toString()]||(()=>{}),Iy=0;function Sg(i){const[s,c]=N.useState(Wy());return hn(()=>{c(r=>r??String(Iy++))},[i]),s?`radix-${s}`:""}const Py=["top","right","bottom","left"],vn=Math.min,Ue=Math.max,ps=Math.round,cs=Math.floor,ga=i=>({x:i,y:i}),tb={left:"right",right:"left",bottom:"top",top:"bottom"},eb={start:"end",end:"start"};function lu(i,s,c){return Ue(i,vn(s,c))}function qa(i,s){return typeof i=="function"?i(s):i}function Ya(i){return i.split("-")[0]}function ql(i){return i.split("-")[1]}function gu(i){return i==="x"?"y":"x"}function hu(i){return i==="y"?"height":"width"}const ab=new Set(["top","bottom"]);function pa(i){return ab.has(Ya(i))?"y":"x"}function vu(i){return gu(pa(i))}function nb(i,s,c){c===void 0&&(c=!1);const r=ql(i),f=vu(i),d=hu(f);let h=f==="x"?r===(c?"end":"start")?"right":"left":r==="start"?"bottom":"top";return s.reference[d]>s.floating[d]&&(h=gs(h)),[h,gs(h)]}function lb(i){const s=gs(i);return[iu(i),s,iu(s)]}function iu(i){return i.replace(/start|end/g,s=>eb[s])}const Gp=["left","right"],Vp=["right","left"],ib=["top","bottom"],ob=["bottom","top"];function sb(i,s,c){switch(i){case"top":case"bottom":return c?s?Vp:Gp:s?Gp:Vp;case"left":case"right":return s?ib:ob;default:return[]}}function cb(i,s,c,r){const f=ql(i);let d=sb(Ya(i),c==="start",r);return f&&(d=d.map(h=>h+"-"+f),s&&(d=d.concat(d.map(iu)))),d}function gs(i){return i.replace(/left|right|bottom|top/g,s=>tb[s])}function rb(i){return{top:0,right:0,bottom:0,left:0,...i}}function Eg(i){return typeof i!="number"?rb(i):{top:i,right:i,bottom:i,left:i}}function hs(i){const{x:s,y:c,width:r,height:f}=i;return{width:r,height:f,top:c,left:s,right:s+r,bottom:c+f,x:s,y:c}}function kp(i,s,c){let{reference:r,floating:f}=i;const d=pa(s),h=vu(s),b=hu(h),v=Ya(s),p=d==="y",x=r.x+r.width/2-f.width/2,m=r.y+r.height/2-f.height/2,C=r[b]/2-f[b]/2;let O;switch(v){case"top":O={x,y:r.y-f.height};break;case"bottom":O={x,y:r.y+r.height};break;case"right":O={x:r.x+r.width,y:m};break;case"left":O={x:r.x-f.width,y:m};break;default:O={x:r.x,y:r.y}}switch(ql(s)){case"start":O[h]-=C*(c&&p?-1:1);break;case"end":O[h]+=C*(c&&p?-1:1);break}return O}const ub=async(i,s,c)=>{const{placement:r="bottom",strategy:f="absolute",middleware:d=[],platform:h}=c,b=d.filter(Boolean),v=await(h.isRTL==null?void 0:h.isRTL(s));let p=await h.getElementRects({reference:i,floating:s,strategy:f}),{x,y:m}=kp(p,r,v),C=r,O={},M=0;for(let H=0;H({name:"arrow",options:i,async fn(s){const{x:c,y:r,placement:f,rects:d,platform:h,elements:b,middlewareData:v}=s,{element:p,padding:x=0}=qa(i,s)||{};if(p==null)return{};const m=Eg(x),C={x:c,y:r},O=vu(f),M=hu(O),H=await h.getDimensions(p),q=O==="y",Y=q?"top":"left",K=q?"bottom":"right",$=q?"clientHeight":"clientWidth",F=d.reference[M]+d.reference[O]-C[O]-d.floating[M],I=C[O]-d.reference[O],P=await(h.getOffsetParent==null?void 0:h.getOffsetParent(p));let Z=P?P[$]:0;(!Z||!await(h.isElement==null?void 0:h.isElement(P)))&&(Z=b.floating[$]||d.floating[M]);const J=F/2-I/2,mt=Z/2-H[M]/2-1,St=vn(m[Y],mt),Ot=vn(m[K],mt),gt=St,ht=Z-H[M]-Ot,yt=Z/2-H[M]/2+J,xt=lu(gt,yt,ht),w=!v.arrow&&ql(f)!=null&&yt!==xt&&d.reference[M]/2-(ytyt<=0)){var Ot,gt;const yt=(((Ot=d.flip)==null?void 0:Ot.index)||0)+1,xt=Z[yt];if(xt&&(!(m==="alignment"?K!==pa(xt):!1)||St.every(D=>pa(D.placement)===K?D.overflows[0]>0:!0)))return{data:{index:yt,overflows:St},reset:{placement:xt}};let w=(gt=St.filter(G=>G.overflows[0]<=0).sort((G,D)=>G.overflows[1]-D.overflows[1])[0])==null?void 0:gt.placement;if(!w)switch(O){case"bestFit":{var ht;const G=(ht=St.filter(D=>{if(P){const it=pa(D.placement);return it===K||it==="y"}return!0}).map(D=>[D.placement,D.overflows.filter(it=>it>0).reduce((it,ct)=>it+ct,0)]).sort((D,it)=>D[1]-it[1])[0])==null?void 0:ht[0];G&&(w=G);break}case"initialPlacement":w=b;break}if(f!==w)return{reset:{placement:w}}}return{}}}};function Xp(i,s){return{top:i.top-s.height,right:i.right-s.width,bottom:i.bottom-s.height,left:i.left-s.width}}function Qp(i){return Py.some(s=>i[s]>=0)}const mb=function(i){return i===void 0&&(i={}),{name:"hide",options:i,async fn(s){const{rects:c}=s,{strategy:r="referenceHidden",...f}=qa(i,s);switch(r){case"referenceHidden":{const d=await Gi(s,{...f,elementContext:"reference"}),h=Xp(d,c.reference);return{data:{referenceHiddenOffsets:h,referenceHidden:Qp(h)}}}case"escaped":{const d=await Gi(s,{...f,altBoundary:!0}),h=Xp(d,c.floating);return{data:{escapedOffsets:h,escaped:Qp(h)}}}default:return{}}}}},Ag=new Set(["left","top"]);async function pb(i,s){const{placement:c,platform:r,elements:f}=i,d=await(r.isRTL==null?void 0:r.isRTL(f.floating)),h=Ya(c),b=ql(c),v=pa(c)==="y",p=Ag.has(h)?-1:1,x=d&&v?-1:1,m=qa(s,i);let{mainAxis:C,crossAxis:O,alignmentAxis:M}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return b&&typeof M=="number"&&(O=b==="end"?M*-1:M),v?{x:O*x,y:C*p}:{x:C*p,y:O*x}}const gb=function(i){return i===void 0&&(i=0),{name:"offset",options:i,async fn(s){var c,r;const{x:f,y:d,placement:h,middlewareData:b}=s,v=await pb(s,i);return h===((c=b.offset)==null?void 0:c.placement)&&(r=b.arrow)!=null&&r.alignmentOffset?{}:{x:f+v.x,y:d+v.y,data:{...v,placement:h}}}}},hb=function(i){return i===void 0&&(i={}),{name:"shift",options:i,async fn(s){const{x:c,y:r,placement:f}=s,{mainAxis:d=!0,crossAxis:h=!1,limiter:b={fn:q=>{let{x:Y,y:K}=q;return{x:Y,y:K}}},...v}=qa(i,s),p={x:c,y:r},x=await Gi(s,v),m=pa(Ya(f)),C=gu(m);let O=p[C],M=p[m];if(d){const q=C==="y"?"top":"left",Y=C==="y"?"bottom":"right",K=O+x[q],$=O-x[Y];O=lu(K,O,$)}if(h){const q=m==="y"?"top":"left",Y=m==="y"?"bottom":"right",K=M+x[q],$=M-x[Y];M=lu(K,M,$)}const H=b.fn({...s,[C]:O,[m]:M});return{...H,data:{x:H.x-c,y:H.y-r,enabled:{[C]:d,[m]:h}}}}}},vb=function(i){return i===void 0&&(i={}),{options:i,fn(s){const{x:c,y:r,placement:f,rects:d,middlewareData:h}=s,{offset:b=0,mainAxis:v=!0,crossAxis:p=!0}=qa(i,s),x={x:c,y:r},m=pa(f),C=gu(m);let O=x[C],M=x[m];const H=qa(b,s),q=typeof H=="number"?{mainAxis:H,crossAxis:0}:{mainAxis:0,crossAxis:0,...H};if(v){const $=C==="y"?"height":"width",F=d.reference[C]-d.floating[$]+q.mainAxis,I=d.reference[C]+d.reference[$]-q.mainAxis;OI&&(O=I)}if(p){var Y,K;const $=C==="y"?"width":"height",F=Ag.has(Ya(f)),I=d.reference[m]-d.floating[$]+(F&&((Y=h.offset)==null?void 0:Y[m])||0)+(F?0:q.crossAxis),P=d.reference[m]+d.reference[$]+(F?0:((K=h.offset)==null?void 0:K[m])||0)-(F?q.crossAxis:0);MP&&(M=P)}return{[C]:O,[m]:M}}}},yb=function(i){return i===void 0&&(i={}),{name:"size",options:i,async fn(s){var c,r;const{placement:f,rects:d,platform:h,elements:b}=s,{apply:v=()=>{},...p}=qa(i,s),x=await Gi(s,p),m=Ya(f),C=ql(f),O=pa(f)==="y",{width:M,height:H}=d.floating;let q,Y;m==="top"||m==="bottom"?(q=m,Y=C===(await(h.isRTL==null?void 0:h.isRTL(b.floating))?"start":"end")?"left":"right"):(Y=m,q=C==="end"?"top":"bottom");const K=H-x.top-x.bottom,$=M-x.left-x.right,F=vn(H-x[q],K),I=vn(M-x[Y],$),P=!s.middlewareData.shift;let Z=F,J=I;if((c=s.middlewareData.shift)!=null&&c.enabled.x&&(J=$),(r=s.middlewareData.shift)!=null&&r.enabled.y&&(Z=K),P&&!C){const St=Ue(x.left,0),Ot=Ue(x.right,0),gt=Ue(x.top,0),ht=Ue(x.bottom,0);O?J=M-2*(St!==0||Ot!==0?St+Ot:Ue(x.left,x.right)):Z=H-2*(gt!==0||ht!==0?gt+ht:Ue(x.top,x.bottom))}await v({...s,availableWidth:J,availableHeight:Z});const mt=await h.getDimensions(b.floating);return M!==mt.width||H!==mt.height?{reset:{rects:!0}}:{}}}};function Ss(){return typeof window<"u"}function Yl(i){return wg(i)?(i.nodeName||"").toLowerCase():"#document"}function Be(i){var s;return(i==null||(s=i.ownerDocument)==null?void 0:s.defaultView)||window}function va(i){var s;return(s=(wg(i)?i.ownerDocument:i.document)||window.document)==null?void 0:s.documentElement}function wg(i){return Ss()?i instanceof Node||i instanceof Be(i).Node:!1}function la(i){return Ss()?i instanceof Element||i instanceof Be(i).Element:!1}function ha(i){return Ss()?i instanceof HTMLElement||i instanceof Be(i).HTMLElement:!1}function Zp(i){return!Ss()||typeof ShadowRoot>"u"?!1:i instanceof ShadowRoot||i instanceof Be(i).ShadowRoot}const bb=new Set(["inline","contents"]);function Xi(i){const{overflow:s,overflowX:c,overflowY:r,display:f}=ia(i);return/auto|scroll|overlay|hidden|clip/.test(s+r+c)&&!bb.has(f)}const xb=new Set(["table","td","th"]);function Sb(i){return xb.has(Yl(i))}const Eb=[":popover-open",":modal"];function Es(i){return Eb.some(s=>{try{return i.matches(s)}catch{return!1}})}const Ab=["transform","translate","scale","rotate","perspective"],wb=["transform","translate","scale","rotate","perspective","filter"],Tb=["paint","layout","strict","content"];function yu(i){const s=bu(),c=la(i)?ia(i):i;return Ab.some(r=>c[r]?c[r]!=="none":!1)||(c.containerType?c.containerType!=="normal":!1)||!s&&(c.backdropFilter?c.backdropFilter!=="none":!1)||!s&&(c.filter?c.filter!=="none":!1)||wb.some(r=>(c.willChange||"").includes(r))||Tb.some(r=>(c.contain||"").includes(r))}function Cb(i){let s=yn(i);for(;ha(s)&&!Bl(s);){if(yu(s))return s;if(Es(s))return null;s=yn(s)}return null}function bu(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Nb=new Set(["html","body","#document"]);function Bl(i){return Nb.has(Yl(i))}function ia(i){return Be(i).getComputedStyle(i)}function As(i){return la(i)?{scrollLeft:i.scrollLeft,scrollTop:i.scrollTop}:{scrollLeft:i.scrollX,scrollTop:i.scrollY}}function yn(i){if(Yl(i)==="html")return i;const s=i.assignedSlot||i.parentNode||Zp(i)&&i.host||va(i);return Zp(s)?s.host:s}function Tg(i){const s=yn(i);return Bl(s)?i.ownerDocument?i.ownerDocument.body:i.body:ha(s)&&Xi(s)?s:Tg(s)}function Vi(i,s,c){var r;s===void 0&&(s=[]),c===void 0&&(c=!0);const f=Tg(i),d=f===((r=i.ownerDocument)==null?void 0:r.body),h=Be(f);if(d){const b=ou(h);return s.concat(h,h.visualViewport||[],Xi(f)?f:[],b&&c?Vi(b):[])}return s.concat(f,Vi(f,[],c))}function ou(i){return i.parent&&Object.getPrototypeOf(i.parent)?i.frameElement:null}function Cg(i){const s=ia(i);let c=parseFloat(s.width)||0,r=parseFloat(s.height)||0;const f=ha(i),d=f?i.offsetWidth:c,h=f?i.offsetHeight:r,b=ps(c)!==d||ps(r)!==h;return b&&(c=d,r=h),{width:c,height:r,$:b}}function xu(i){return la(i)?i:i.contextElement}function Ul(i){const s=xu(i);if(!ha(s))return ga(1);const c=s.getBoundingClientRect(),{width:r,height:f,$:d}=Cg(s);let h=(d?ps(c.width):c.width)/r,b=(d?ps(c.height):c.height)/f;return(!h||!Number.isFinite(h))&&(h=1),(!b||!Number.isFinite(b))&&(b=1),{x:h,y:b}}const Ob=ga(0);function Ng(i){const s=Be(i);return!bu()||!s.visualViewport?Ob:{x:s.visualViewport.offsetLeft,y:s.visualViewport.offsetTop}}function Rb(i,s,c){return s===void 0&&(s=!1),!c||s&&c!==Be(i)?!1:s}function Xn(i,s,c,r){s===void 0&&(s=!1),c===void 0&&(c=!1);const f=i.getBoundingClientRect(),d=xu(i);let h=ga(1);s&&(r?la(r)&&(h=Ul(r)):h=Ul(i));const b=Rb(d,c,r)?Ng(d):ga(0);let v=(f.left+b.x)/h.x,p=(f.top+b.y)/h.y,x=f.width/h.x,m=f.height/h.y;if(d){const C=Be(d),O=r&&la(r)?Be(r):r;let M=C,H=ou(M);for(;H&&r&&O!==M;){const q=Ul(H),Y=H.getBoundingClientRect(),K=ia(H),$=Y.left+(H.clientLeft+parseFloat(K.paddingLeft))*q.x,F=Y.top+(H.clientTop+parseFloat(K.paddingTop))*q.y;v*=q.x,p*=q.y,x*=q.x,m*=q.y,v+=$,p+=F,M=Be(H),H=ou(M)}}return hs({width:x,height:m,x:v,y:p})}function ws(i,s){const c=As(i).scrollLeft;return s?s.left+c:Xn(va(i)).left+c}function Og(i,s){const c=i.getBoundingClientRect(),r=c.left+s.scrollLeft-ws(i,c),f=c.top+s.scrollTop;return{x:r,y:f}}function zb(i){let{elements:s,rect:c,offsetParent:r,strategy:f}=i;const d=f==="fixed",h=va(r),b=s?Es(s.floating):!1;if(r===h||b&&d)return c;let v={scrollLeft:0,scrollTop:0},p=ga(1);const x=ga(0),m=ha(r);if((m||!m&&!d)&&((Yl(r)!=="body"||Xi(h))&&(v=As(r)),ha(r))){const O=Xn(r);p=Ul(r),x.x=O.x+r.clientLeft,x.y=O.y+r.clientTop}const C=h&&!m&&!d?Og(h,v):ga(0);return{width:c.width*p.x,height:c.height*p.y,x:c.x*p.x-v.scrollLeft*p.x+x.x+C.x,y:c.y*p.y-v.scrollTop*p.y+x.y+C.y}}function _b(i){return Array.from(i.getClientRects())}function Mb(i){const s=va(i),c=As(i),r=i.ownerDocument.body,f=Ue(s.scrollWidth,s.clientWidth,r.scrollWidth,r.clientWidth),d=Ue(s.scrollHeight,s.clientHeight,r.scrollHeight,r.clientHeight);let h=-c.scrollLeft+ws(i);const b=-c.scrollTop;return ia(r).direction==="rtl"&&(h+=Ue(s.clientWidth,r.clientWidth)-f),{width:f,height:d,x:h,y:b}}const Kp=25;function Db(i,s){const c=Be(i),r=va(i),f=c.visualViewport;let d=r.clientWidth,h=r.clientHeight,b=0,v=0;if(f){d=f.width,h=f.height;const x=bu();(!x||x&&s==="fixed")&&(b=f.offsetLeft,v=f.offsetTop)}const p=ws(r);if(p<=0){const x=r.ownerDocument,m=x.body,C=getComputedStyle(m),O=x.compatMode==="CSS1Compat"&&parseFloat(C.marginLeft)+parseFloat(C.marginRight)||0,M=Math.abs(r.clientWidth-m.clientWidth-O);M<=Kp&&(d-=M)}else p<=Kp&&(d+=p);return{width:d,height:h,x:b,y:v}}const jb=new Set(["absolute","fixed"]);function Hb(i,s){const c=Xn(i,!0,s==="fixed"),r=c.top+i.clientTop,f=c.left+i.clientLeft,d=ha(i)?Ul(i):ga(1),h=i.clientWidth*d.x,b=i.clientHeight*d.y,v=f*d.x,p=r*d.y;return{width:h,height:b,x:v,y:p}}function Jp(i,s,c){let r;if(s==="viewport")r=Db(i,c);else if(s==="document")r=Mb(va(i));else if(la(s))r=Hb(s,c);else{const f=Ng(i);r={x:s.x-f.x,y:s.y-f.y,width:s.width,height:s.height}}return hs(r)}function Rg(i,s){const c=yn(i);return c===s||!la(c)||Bl(c)?!1:ia(c).position==="fixed"||Rg(c,s)}function Ub(i,s){const c=s.get(i);if(c)return c;let r=Vi(i,[],!1).filter(b=>la(b)&&Yl(b)!=="body"),f=null;const d=ia(i).position==="fixed";let h=d?yn(i):i;for(;la(h)&&!Bl(h);){const b=ia(h),v=yu(h);!v&&b.position==="fixed"&&(f=null),(d?!v&&!f:!v&&b.position==="static"&&!!f&&jb.has(f.position)||Xi(h)&&!v&&Rg(i,h))?r=r.filter(x=>x!==h):f=b,h=yn(h)}return s.set(i,r),r}function Bb(i){let{element:s,boundary:c,rootBoundary:r,strategy:f}=i;const h=[...c==="clippingAncestors"?Es(s)?[]:Ub(s,this._c):[].concat(c),r],b=h[0],v=h.reduce((p,x)=>{const m=Jp(s,x,f);return p.top=Ue(m.top,p.top),p.right=vn(m.right,p.right),p.bottom=vn(m.bottom,p.bottom),p.left=Ue(m.left,p.left),p},Jp(s,b,f));return{width:v.right-v.left,height:v.bottom-v.top,x:v.left,y:v.top}}function Lb(i){const{width:s,height:c}=Cg(i);return{width:s,height:c}}function qb(i,s,c){const r=ha(s),f=va(s),d=c==="fixed",h=Xn(i,!0,d,s);let b={scrollLeft:0,scrollTop:0};const v=ga(0);function p(){v.x=ws(f)}if(r||!r&&!d)if((Yl(s)!=="body"||Xi(f))&&(b=As(s)),r){const O=Xn(s,!0,d,s);v.x=O.x+s.clientLeft,v.y=O.y+s.clientTop}else f&&p();d&&!r&&f&&p();const x=f&&!r&&!d?Og(f,b):ga(0),m=h.left+b.scrollLeft-v.x-x.x,C=h.top+b.scrollTop-v.y-x.y;return{x:m,y:C,width:h.width,height:h.height}}function $r(i){return ia(i).position==="static"}function $p(i,s){if(!ha(i)||ia(i).position==="fixed")return null;if(s)return s(i);let c=i.offsetParent;return va(i)===c&&(c=c.ownerDocument.body),c}function zg(i,s){const c=Be(i);if(Es(i))return c;if(!ha(i)){let f=yn(i);for(;f&&!Bl(f);){if(la(f)&&!$r(f))return f;f=yn(f)}return c}let r=$p(i,s);for(;r&&Sb(r)&&$r(r);)r=$p(r,s);return r&&Bl(r)&&$r(r)&&!yu(r)?c:r||Cb(i)||c}const Yb=async function(i){const s=this.getOffsetParent||zg,c=this.getDimensions,r=await c(i.floating);return{reference:qb(i.reference,await s(i.floating),i.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Gb(i){return ia(i).direction==="rtl"}const Vb={convertOffsetParentRelativeRectToViewportRelativeRect:zb,getDocumentElement:va,getClippingRect:Bb,getOffsetParent:zg,getElementRects:Yb,getClientRects:_b,getDimensions:Lb,getScale:Ul,isElement:la,isRTL:Gb};function _g(i,s){return i.x===s.x&&i.y===s.y&&i.width===s.width&&i.height===s.height}function kb(i,s){let c=null,r;const f=va(i);function d(){var b;clearTimeout(r),(b=c)==null||b.disconnect(),c=null}function h(b,v){b===void 0&&(b=!1),v===void 0&&(v=1),d();const p=i.getBoundingClientRect(),{left:x,top:m,width:C,height:O}=p;if(b||s(),!C||!O)return;const M=cs(m),H=cs(f.clientWidth-(x+C)),q=cs(f.clientHeight-(m+O)),Y=cs(x),$={rootMargin:-M+"px "+-H+"px "+-q+"px "+-Y+"px",threshold:Ue(0,vn(1,v))||1};let F=!0;function I(P){const Z=P[0].intersectionRatio;if(Z!==v){if(!F)return h();Z?h(!1,Z):r=setTimeout(()=>{h(!1,1e-7)},1e3)}Z===1&&!_g(p,i.getBoundingClientRect())&&h(),F=!1}try{c=new IntersectionObserver(I,{...$,root:f.ownerDocument})}catch{c=new IntersectionObserver(I,$)}c.observe(i)}return h(!0),d}function Xb(i,s,c,r){r===void 0&&(r={});const{ancestorScroll:f=!0,ancestorResize:d=!0,elementResize:h=typeof ResizeObserver=="function",layoutShift:b=typeof IntersectionObserver=="function",animationFrame:v=!1}=r,p=xu(i),x=f||d?[...p?Vi(p):[],...Vi(s)]:[];x.forEach(Y=>{f&&Y.addEventListener("scroll",c,{passive:!0}),d&&Y.addEventListener("resize",c)});const m=p&&b?kb(p,c):null;let C=-1,O=null;h&&(O=new ResizeObserver(Y=>{let[K]=Y;K&&K.target===p&&O&&(O.unobserve(s),cancelAnimationFrame(C),C=requestAnimationFrame(()=>{var $;($=O)==null||$.observe(s)})),c()}),p&&!v&&O.observe(p),O.observe(s));let M,H=v?Xn(i):null;v&&q();function q(){const Y=Xn(i);H&&!_g(H,Y)&&c(),H=Y,M=requestAnimationFrame(q)}return c(),()=>{var Y;x.forEach(K=>{f&&K.removeEventListener("scroll",c),d&&K.removeEventListener("resize",c)}),m?.(),(Y=O)==null||Y.disconnect(),O=null,v&&cancelAnimationFrame(M)}}const Qb=gb,Zb=hb,Kb=db,Jb=yb,$b=mb,Fp=fb,Fb=vb,Wb=(i,s,c)=>{const r=new Map,f={platform:Vb,...c},d={...f.platform,_c:r};return ub(i,s,{...f,platform:d})};var Ib=typeof document<"u",Pb=function(){},ds=Ib?N.useLayoutEffect:Pb;function vs(i,s){if(i===s)return!0;if(typeof i!=typeof s)return!1;if(typeof i=="function"&&i.toString()===s.toString())return!0;let c,r,f;if(i&&s&&typeof i=="object"){if(Array.isArray(i)){if(c=i.length,c!==s.length)return!1;for(r=c;r--!==0;)if(!vs(i[r],s[r]))return!1;return!0}if(f=Object.keys(i),c=f.length,c!==Object.keys(s).length)return!1;for(r=c;r--!==0;)if(!{}.hasOwnProperty.call(s,f[r]))return!1;for(r=c;r--!==0;){const d=f[r];if(!(d==="_owner"&&i.$$typeof)&&!vs(i[d],s[d]))return!1}return!0}return i!==i&&s!==s}function Mg(i){return typeof window>"u"?1:(i.ownerDocument.defaultView||window).devicePixelRatio||1}function Wp(i,s){const c=Mg(i);return Math.round(s*c)/c}function Fr(i){const s=N.useRef(i);return ds(()=>{s.current=i}),s}function tx(i){i===void 0&&(i={});const{placement:s="bottom",strategy:c="absolute",middleware:r=[],platform:f,elements:{reference:d,floating:h}={},transform:b=!0,whileElementsMounted:v,open:p}=i,[x,m]=N.useState({x:0,y:0,strategy:c,placement:s,middlewareData:{},isPositioned:!1}),[C,O]=N.useState(r);vs(C,r)||O(r);const[M,H]=N.useState(null),[q,Y]=N.useState(null),K=N.useCallback(D=>{D!==P.current&&(P.current=D,H(D))},[]),$=N.useCallback(D=>{D!==Z.current&&(Z.current=D,Y(D))},[]),F=d||M,I=h||q,P=N.useRef(null),Z=N.useRef(null),J=N.useRef(x),mt=v!=null,St=Fr(v),Ot=Fr(f),gt=Fr(p),ht=N.useCallback(()=>{if(!P.current||!Z.current)return;const D={placement:s,strategy:c,middleware:C};Ot.current&&(D.platform=Ot.current),Wb(P.current,Z.current,D).then(it=>{const ct={...it,isPositioned:gt.current!==!1};yt.current&&!vs(J.current,ct)&&(J.current=ct,pu.flushSync(()=>{m(ct)}))})},[C,s,c,Ot,gt]);ds(()=>{p===!1&&J.current.isPositioned&&(J.current.isPositioned=!1,m(D=>({...D,isPositioned:!1})))},[p]);const yt=N.useRef(!1);ds(()=>(yt.current=!0,()=>{yt.current=!1}),[]),ds(()=>{if(F&&(P.current=F),I&&(Z.current=I),F&&I){if(St.current)return St.current(F,I,ht);ht()}},[F,I,ht,St,mt]);const xt=N.useMemo(()=>({reference:P,floating:Z,setReference:K,setFloating:$}),[K,$]),w=N.useMemo(()=>({reference:F,floating:I}),[F,I]),G=N.useMemo(()=>{const D={position:c,left:0,top:0};if(!w.floating)return D;const it=Wp(w.floating,x.x),ct=Wp(w.floating,x.y);return b?{...D,transform:"translate("+it+"px, "+ct+"px)",...Mg(w.floating)>=1.5&&{willChange:"transform"}}:{position:c,left:it,top:ct}},[c,b,w.floating,x.x,x.y]);return N.useMemo(()=>({...x,update:ht,refs:xt,elements:w,floatingStyles:G}),[x,ht,xt,w,G])}const ex=i=>{function s(c){return{}.hasOwnProperty.call(c,"current")}return{name:"arrow",options:i,fn(c){const{element:r,padding:f}=typeof i=="function"?i(c):i;return r&&s(r)?r.current!=null?Fp({element:r.current,padding:f}).fn(c):{}:r?Fp({element:r,padding:f}).fn(c):{}}}},ax=(i,s)=>({...Qb(i),options:[i,s]}),nx=(i,s)=>({...Zb(i),options:[i,s]}),lx=(i,s)=>({...Fb(i),options:[i,s]}),ix=(i,s)=>({...Kb(i),options:[i,s]}),ox=(i,s)=>({...Jb(i),options:[i,s]}),sx=(i,s)=>({...$b(i),options:[i,s]}),cx=(i,s)=>({...ex(i),options:[i,s]});var rx="Arrow",Dg=N.forwardRef((i,s)=>{const{children:c,width:r=10,height:f=5,...d}=i;return y.jsx(Je.svg,{...d,ref:s,width:r,height:f,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:i.asChild?c:y.jsx("polygon",{points:"0,0 30,0 15,10"})})});Dg.displayName=rx;var ux=Dg;function fx(i){const[s,c]=N.useState(void 0);return hn(()=>{if(i){c({width:i.offsetWidth,height:i.offsetHeight});const r=new ResizeObserver(f=>{if(!Array.isArray(f)||!f.length)return;const d=f[0];let h,b;if("borderBoxSize"in d){const v=d.borderBoxSize,p=Array.isArray(v)?v[0]:v;h=p.inlineSize,b=p.blockSize}else h=i.offsetWidth,b=i.offsetHeight;c({width:h,height:b})});return r.observe(i,{box:"border-box"}),()=>r.unobserve(i)}else c(void 0)},[i]),s}var jg="Popper",[Hg,Ug]=ki(jg),[J2,Bg]=Hg(jg),Lg="PopperAnchor",qg=N.forwardRef((i,s)=>{const{__scopePopper:c,virtualRef:r,...f}=i,d=Bg(Lg,c),h=N.useRef(null),b=na(s,h),v=N.useRef(null);return N.useEffect(()=>{const p=v.current;v.current=r?.current||h.current,p!==v.current&&d.onAnchorChange(v.current)}),r?null:y.jsx(Je.div,{...f,ref:b})});qg.displayName=Lg;var Su="PopperContent",[dx,mx]=Hg(Su),Yg=N.forwardRef((i,s)=>{const{__scopePopper:c,side:r="bottom",sideOffset:f=0,align:d="center",alignOffset:h=0,arrowPadding:b=0,avoidCollisions:v=!0,collisionBoundary:p=[],collisionPadding:x=0,sticky:m="partial",hideWhenDetached:C=!1,updatePositionStrategy:O="optimized",onPlaced:M,...H}=i,q=Bg(Su,c),[Y,K]=N.useState(null),$=na(s,nt=>K(nt)),[F,I]=N.useState(null),P=fx(F),Z=P?.width??0,J=P?.height??0,mt=r+(d!=="center"?"-"+d:""),St=typeof x=="number"?x:{top:0,right:0,bottom:0,left:0,...x},Ot=Array.isArray(p)?p:[p],gt=Ot.length>0,ht={padding:St,boundary:Ot.filter(gx),altBoundary:gt},{refs:yt,floatingStyles:xt,placement:w,isPositioned:G,middlewareData:D}=tx({strategy:"fixed",placement:mt,whileElementsMounted:(...nt)=>Xb(...nt,{animationFrame:O==="always"}),elements:{reference:q.anchor},middleware:[ax({mainAxis:f+J,alignmentAxis:h}),v&&nx({mainAxis:!0,crossAxis:!1,limiter:m==="partial"?lx():void 0,...ht}),v&&ix({...ht}),ox({...ht,apply:({elements:nt,rects:ut,availableWidth:Ct,availableHeight:ae})=>{const{width:de,height:ne}=ut.reference,ya=nt.floating.style;ya.setProperty("--radix-popper-available-width",`${Ct}px`),ya.setProperty("--radix-popper-available-height",`${ae}px`),ya.setProperty("--radix-popper-anchor-width",`${de}px`),ya.setProperty("--radix-popper-anchor-height",`${ne}px`)}}),F&&cx({element:F,padding:b}),hx({arrowWidth:Z,arrowHeight:J}),C&&sx({strategy:"referenceHidden",...ht})]}),[it,ct]=kg(w),E=xs(M);hn(()=>{G&&E?.()},[G,E]);const L=D.arrow?.x,B=D.arrow?.y,Q=D.arrow?.centerOffset!==0,[W,ot]=N.useState();return hn(()=>{Y&&ot(window.getComputedStyle(Y).zIndex)},[Y]),y.jsx("div",{ref:yt.setFloating,"data-radix-popper-content-wrapper":"",style:{...xt,transform:G?xt.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:W,"--radix-popper-transform-origin":[D.transformOrigin?.x,D.transformOrigin?.y].join(" "),...D.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:i.dir,children:y.jsx(dx,{scope:c,placedSide:it,onArrowChange:I,arrowX:L,arrowY:B,shouldHideArrow:Q,children:y.jsx(Je.div,{"data-side":it,"data-align":ct,...H,ref:$,style:{...H.style,animation:G?void 0:"none"}})})})});Yg.displayName=Su;var Gg="PopperArrow",px={top:"bottom",right:"left",bottom:"top",left:"right"},Vg=N.forwardRef(function(s,c){const{__scopePopper:r,...f}=s,d=mx(Gg,r),h=px[d.placedSide];return y.jsx("span",{ref:d.onArrowChange,style:{position:"absolute",left:d.arrowX,top:d.arrowY,[h]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[d.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[d.placedSide],visibility:d.shouldHideArrow?"hidden":void 0},children:y.jsx(ux,{...f,ref:c,style:{...f.style,display:"block"}})})});Vg.displayName=Gg;function gx(i){return i!==null}var hx=i=>({name:"transformOrigin",options:i,fn(s){const{placement:c,rects:r,middlewareData:f}=s,h=f.arrow?.centerOffset!==0,b=h?0:i.arrowWidth,v=h?0:i.arrowHeight,[p,x]=kg(c),m={start:"0%",center:"50%",end:"100%"}[x],C=(f.arrow?.x??0)+b/2,O=(f.arrow?.y??0)+v/2;let M="",H="";return p==="bottom"?(M=h?m:`${C}px`,H=`${-v}px`):p==="top"?(M=h?m:`${C}px`,H=`${r.floating.height+v}px`):p==="right"?(M=`${-v}px`,H=h?m:`${O}px`):p==="left"&&(M=`${r.floating.width+v}px`,H=h?m:`${O}px`),{data:{x:M,y:H}}}});function kg(i){const[s,c="center"]=i.split("-");return[s,c]}var vx=qg,yx=Yg,bx=Vg;function xx(i,s){return N.useReducer((c,r)=>s[c][r]??c,i)}var Eu=i=>{const{present:s,children:c}=i,r=Sx(s),f=typeof c=="function"?c({present:r.isPresent}):N.Children.only(c),d=na(r.ref,Ex(f));return typeof c=="function"||r.isPresent?N.cloneElement(f,{ref:d}):null};Eu.displayName="Presence";function Sx(i){const[s,c]=N.useState(),r=N.useRef(null),f=N.useRef(i),d=N.useRef("none"),h=i?"mounted":"unmounted",[b,v]=xx(h,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return N.useEffect(()=>{const p=rs(r.current);d.current=b==="mounted"?p:"none"},[b]),hn(()=>{const p=r.current,x=f.current;if(x!==i){const C=d.current,O=rs(p);i?v("MOUNT"):O==="none"||p?.display==="none"?v("UNMOUNT"):v(x&&C!==O?"ANIMATION_OUT":"UNMOUNT"),f.current=i}},[i,v]),hn(()=>{if(s){let p;const x=s.ownerDocument.defaultView??window,m=O=>{const H=rs(r.current).includes(CSS.escape(O.animationName));if(O.target===s&&H&&(v("ANIMATION_END"),!f.current)){const q=s.style.animationFillMode;s.style.animationFillMode="forwards",p=x.setTimeout(()=>{s.style.animationFillMode==="forwards"&&(s.style.animationFillMode=q)})}},C=O=>{O.target===s&&(d.current=rs(r.current))};return s.addEventListener("animationstart",C),s.addEventListener("animationcancel",m),s.addEventListener("animationend",m),()=>{x.clearTimeout(p),s.removeEventListener("animationstart",C),s.removeEventListener("animationcancel",m),s.removeEventListener("animationend",m)}}else v("ANIMATION_END")},[s,v]),{isPresent:["mounted","unmountSuspended"].includes(b),ref:N.useCallback(p=>{r.current=p?getComputedStyle(p):null,c(p)},[])}}function rs(i){return i?.animationName||"none"}function Ex(i){let s=Object.getOwnPropertyDescriptor(i.props,"ref")?.get,c=s&&"isReactWarning"in s&&s.isReactWarning;return c?i.ref:(s=Object.getOwnPropertyDescriptor(i,"ref")?.get,c=s&&"isReactWarning"in s&&s.isReactWarning,c?i.props.ref:i.props.ref||i.ref)}var Ax=mu[" useInsertionEffect ".trim().toString()]||hn;function Au({prop:i,defaultProp:s,onChange:c=()=>{},caller:r}){const[f,d,h]=wx({defaultProp:s,onChange:c}),b=i!==void 0,v=b?i:f;{const x=N.useRef(i!==void 0);N.useEffect(()=>{const m=x.current;m!==b&&console.warn(`${r} is changing from ${m?"controlled":"uncontrolled"} to ${b?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),x.current=b},[b,r])}const p=N.useCallback(x=>{if(b){const m=Tx(x)?x(i):x;m!==i&&h.current?.(m)}else d(x)},[b,i,d,h]);return[v,p]}function wx({defaultProp:i,onChange:s}){const[c,r]=N.useState(i),f=N.useRef(c),d=N.useRef(s);return Ax(()=>{d.current=s},[s]),N.useEffect(()=>{f.current!==c&&(d.current?.(c),f.current=c)},[c,f]),[c,r,d]}function Tx(i){return typeof i=="function"}var Cx=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),Nx="VisuallyHidden",Xg=N.forwardRef((i,s)=>y.jsx(Je.span,{...i,ref:s,style:{...Cx,...i.style}}));Xg.displayName=Nx;var Ox=Xg,[Ts]=ki("Tooltip",[Ug]),wu=Ug(),Qg="TooltipProvider",Rx=700,Ip="tooltip.open",[zx,Zg]=Ts(Qg),Kg=i=>{const{__scopeTooltip:s,delayDuration:c=Rx,skipDelayDuration:r=300,disableHoverableContent:f=!1,children:d}=i,h=N.useRef(!0),b=N.useRef(!1),v=N.useRef(0);return N.useEffect(()=>{const p=v.current;return()=>window.clearTimeout(p)},[]),y.jsx(zx,{scope:s,isOpenDelayedRef:h,delayDuration:c,onOpen:N.useCallback(()=>{window.clearTimeout(v.current),h.current=!1},[]),onClose:N.useCallback(()=>{window.clearTimeout(v.current),v.current=window.setTimeout(()=>h.current=!0,r)},[r]),isPointerInTransitRef:b,onPointerInTransitChange:N.useCallback(p=>{b.current=p},[]),disableHoverableContent:f,children:d})};Kg.displayName=Qg;var Jg="Tooltip",[$2,Cs]=Ts(Jg),su="TooltipTrigger",_x=N.forwardRef((i,s)=>{const{__scopeTooltip:c,...r}=i,f=Cs(su,c),d=Zg(su,c),h=wu(c),b=N.useRef(null),v=na(s,b,f.onTriggerChange),p=N.useRef(!1),x=N.useRef(!1),m=N.useCallback(()=>p.current=!1,[]);return N.useEffect(()=>()=>document.removeEventListener("pointerup",m),[m]),y.jsx(vx,{asChild:!0,...h,children:y.jsx(Je.button,{"aria-describedby":f.open?f.contentId:void 0,"data-state":f.stateAttribute,...r,ref:v,onPointerMove:aa(i.onPointerMove,C=>{C.pointerType!=="touch"&&!x.current&&!d.isPointerInTransitRef.current&&(f.onTriggerEnter(),x.current=!0)}),onPointerLeave:aa(i.onPointerLeave,()=>{f.onTriggerLeave(),x.current=!1}),onPointerDown:aa(i.onPointerDown,()=>{f.open&&f.onClose(),p.current=!0,document.addEventListener("pointerup",m,{once:!0})}),onFocus:aa(i.onFocus,()=>{p.current||f.onOpen()}),onBlur:aa(i.onBlur,f.onClose),onClick:aa(i.onClick,f.onClose)})})});_x.displayName=su;var Mx="TooltipPortal",[F2,Dx]=Ts(Mx,{forceMount:void 0}),Ll="TooltipContent",jx=N.forwardRef((i,s)=>{const c=Dx(Ll,i.__scopeTooltip),{forceMount:r=c.forceMount,side:f="top",...d}=i,h=Cs(Ll,i.__scopeTooltip);return y.jsx(Eu,{present:r||h.open,children:h.disableHoverableContent?y.jsx($g,{side:f,...d,ref:s}):y.jsx(Hx,{side:f,...d,ref:s})})}),Hx=N.forwardRef((i,s)=>{const c=Cs(Ll,i.__scopeTooltip),r=Zg(Ll,i.__scopeTooltip),f=N.useRef(null),d=na(s,f),[h,b]=N.useState(null),{trigger:v,onClose:p}=c,x=f.current,{onPointerInTransitChange:m}=r,C=N.useCallback(()=>{b(null),m(!1)},[m]),O=N.useCallback((M,H)=>{const q=M.currentTarget,Y={x:M.clientX,y:M.clientY},K=Yx(Y,q.getBoundingClientRect()),$=Gx(Y,K),F=Vx(H.getBoundingClientRect()),I=Xx([...$,...F]);b(I),m(!0)},[m]);return N.useEffect(()=>()=>C(),[C]),N.useEffect(()=>{if(v&&x){const M=q=>O(q,x),H=q=>O(q,v);return v.addEventListener("pointerleave",M),x.addEventListener("pointerleave",H),()=>{v.removeEventListener("pointerleave",M),x.removeEventListener("pointerleave",H)}}},[v,x,O,C]),N.useEffect(()=>{if(h){const M=H=>{const q=H.target,Y={x:H.clientX,y:H.clientY},K=v?.contains(q)||x?.contains(q),$=!kx(Y,h);K?C():$&&(C(),p())};return document.addEventListener("pointermove",M),()=>document.removeEventListener("pointermove",M)}},[v,x,h,p,C]),y.jsx($g,{...i,ref:d})}),[Ux,Bx]=Ts(Jg,{isInside:!1}),Lx=By("TooltipContent"),$g=N.forwardRef((i,s)=>{const{__scopeTooltip:c,children:r,"aria-label":f,onEscapeKeyDown:d,onPointerDownOutside:h,...b}=i,v=Cs(Ll,c),p=wu(c),{onClose:x}=v;return N.useEffect(()=>(document.addEventListener(Ip,x),()=>document.removeEventListener(Ip,x)),[x]),N.useEffect(()=>{if(v.trigger){const m=C=>{C.target?.contains(v.trigger)&&x()};return window.addEventListener("scroll",m,{capture:!0}),()=>window.removeEventListener("scroll",m,{capture:!0})}},[v.trigger,x]),y.jsx(bg,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:d,onPointerDownOutside:h,onFocusOutside:m=>m.preventDefault(),onDismiss:x,children:y.jsxs(yx,{"data-state":v.stateAttribute,...p,...b,ref:s,style:{...b.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[y.jsx(Lx,{children:r}),y.jsx(Ux,{scope:c,isInside:!0,children:y.jsx(Ox,{id:v.contentId,role:"tooltip",children:f||r})})]})})});jx.displayName=Ll;var Fg="TooltipArrow",qx=N.forwardRef((i,s)=>{const{__scopeTooltip:c,...r}=i,f=wu(c);return Bx(Fg,c).isInside?null:y.jsx(bx,{...f,...r,ref:s})});qx.displayName=Fg;function Yx(i,s){const c=Math.abs(s.top-i.y),r=Math.abs(s.bottom-i.y),f=Math.abs(s.right-i.x),d=Math.abs(s.left-i.x);switch(Math.min(c,r,f,d)){case d:return"left";case f:return"right";case c:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function Gx(i,s,c=5){const r=[];switch(s){case"top":r.push({x:i.x-c,y:i.y+c},{x:i.x+c,y:i.y+c});break;case"bottom":r.push({x:i.x-c,y:i.y-c},{x:i.x+c,y:i.y-c});break;case"left":r.push({x:i.x+c,y:i.y-c},{x:i.x+c,y:i.y+c});break;case"right":r.push({x:i.x-c,y:i.y-c},{x:i.x-c,y:i.y+c});break}return r}function Vx(i){const{top:s,right:c,bottom:r,left:f}=i;return[{x:f,y:s},{x:c,y:s},{x:c,y:r},{x:f,y:r}]}function kx(i,s){const{x:c,y:r}=i;let f=!1;for(let d=0,h=s.length-1;dr!=C>r&&c<(m-p)*(r-x)/(C-x)+p&&(f=!f)}return f}function Xx(i){const s=i.slice();return s.sort((c,r)=>c.xr.x?1:c.yr.y?1:0),Qx(s)}function Qx(i){if(i.length<=1)return i.slice();const s=[];for(let r=0;r=2;){const d=s[s.length-1],h=s[s.length-2];if((d.x-h.x)*(f.y-h.y)>=(d.y-h.y)*(f.x-h.x))s.pop();else break}s.push(f)}s.pop();const c=[];for(let r=i.length-1;r>=0;r--){const f=i[r];for(;c.length>=2;){const d=c[c.length-1],h=c[c.length-2];if((d.x-h.x)*(f.y-h.y)>=(d.y-h.y)*(f.x-h.x))c.pop();else break}c.push(f)}return c.pop(),s.length===1&&c.length===1&&s[0].x===c[0].x&&s[0].y===c[0].y?s:s.concat(c)}var Zx=Kg;function Wg(i){var s,c,r="";if(typeof i=="string"||typeof i=="number")r+=i;else if(typeof i=="object")if(Array.isArray(i)){var f=i.length;for(s=0;s{const s=$x(i),{conflictingClassGroups:c,conflictingClassGroupModifiers:r}=i;return{getClassGroupId:h=>{const b=h.split(Tu);return b[0]===""&&b.length!==1&&b.shift(),Pg(b,s)||Jx(h)},getConflictingClassGroupIds:(h,b)=>{const v=c[h]||[];return b&&r[h]?[...v,...r[h]]:v}}},Pg=(i,s)=>{if(i.length===0)return s.classGroupId;const c=i[0],r=s.nextPart.get(c),f=r?Pg(i.slice(1),r):void 0;if(f)return f;if(s.validators.length===0)return;const d=i.join(Tu);return s.validators.find(({validator:h})=>h(d))?.classGroupId},Pp=/^\[(.+)\]$/,Jx=i=>{if(Pp.test(i)){const s=Pp.exec(i)[1],c=s?.substring(0,s.indexOf(":"));if(c)return"arbitrary.."+c}},$x=i=>{const{theme:s,classGroups:c}=i,r={nextPart:new Map,validators:[]};for(const f in c)cu(c[f],r,f,s);return r},cu=(i,s,c,r)=>{i.forEach(f=>{if(typeof f=="string"){const d=f===""?s:tg(s,f);d.classGroupId=c;return}if(typeof f=="function"){if(Fx(f)){cu(f(r),s,c,r);return}s.validators.push({validator:f,classGroupId:c});return}Object.entries(f).forEach(([d,h])=>{cu(h,tg(s,d),c,r)})})},tg=(i,s)=>{let c=i;return s.split(Tu).forEach(r=>{c.nextPart.has(r)||c.nextPart.set(r,{nextPart:new Map,validators:[]}),c=c.nextPart.get(r)}),c},Fx=i=>i.isThemeGetter,Wx=i=>{if(i<1)return{get:()=>{},set:()=>{}};let s=0,c=new Map,r=new Map;const f=(d,h)=>{c.set(d,h),s++,s>i&&(s=0,r=c,c=new Map)};return{get(d){let h=c.get(d);if(h!==void 0)return h;if((h=r.get(d))!==void 0)return f(d,h),h},set(d,h){c.has(d)?c.set(d,h):f(d,h)}}},ru="!",uu=":",Ix=uu.length,Px=i=>{const{prefix:s,experimentalParseClassName:c}=i;let r=f=>{const d=[];let h=0,b=0,v=0,p;for(let M=0;Mv?p-v:void 0;return{modifiers:d,hasImportantModifier:C,baseClassName:m,maybePostfixModifierPosition:O}};if(s){const f=s+uu,d=r;r=h=>h.startsWith(f)?d(h.substring(f.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:h,maybePostfixModifierPosition:void 0}}if(c){const f=r;r=d=>c({className:d,parseClassName:f})}return r},t1=i=>i.endsWith(ru)?i.substring(0,i.length-1):i.startsWith(ru)?i.substring(1):i,e1=i=>{const s=Object.fromEntries(i.orderSensitiveModifiers.map(r=>[r,!0]));return r=>{if(r.length<=1)return r;const f=[];let d=[];return r.forEach(h=>{h[0]==="["||s[h]?(f.push(...d.sort(),h),d=[]):d.push(h)}),f.push(...d.sort()),f}},a1=i=>({cache:Wx(i.cacheSize),parseClassName:Px(i),sortModifiers:e1(i),...Kx(i)}),n1=/\s+/,l1=(i,s)=>{const{parseClassName:c,getClassGroupId:r,getConflictingClassGroupIds:f,sortModifiers:d}=s,h=[],b=i.trim().split(n1);let v="";for(let p=b.length-1;p>=0;p-=1){const x=b[p],{isExternal:m,modifiers:C,hasImportantModifier:O,baseClassName:M,maybePostfixModifierPosition:H}=c(x);if(m){v=x+(v.length>0?" "+v:v);continue}let q=!!H,Y=r(q?M.substring(0,H):M);if(!Y){if(!q){v=x+(v.length>0?" "+v:v);continue}if(Y=r(M),!Y){v=x+(v.length>0?" "+v:v);continue}q=!1}const K=d(C).join(":"),$=O?K+ru:K,F=$+Y;if(h.includes(F))continue;h.push(F);const I=f(Y,q);for(let P=0;P0?" "+v:v)}return v};function i1(){let i=0,s,c,r="";for(;i{if(typeof i=="string")return i;let s,c="";for(let r=0;rm(x),i());return c=a1(p),r=c.cache.get,f=c.cache.set,d=b,b(v)}function b(v){const p=r(v);if(p)return p;const x=l1(v,c);return f(v,x),x}return function(){return d(i1.apply(null,arguments))}}const It=i=>{const s=c=>c[i]||[];return s.isThemeGetter=!0,s},eh=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,ah=/^\((?:(\w[\w-]*):)?(.+)\)$/i,s1=/^\d+\/\d+$/,c1=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,r1=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,u1=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,f1=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,d1=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,jl=i=>s1.test(i),bt=i=>!!i&&!Number.isNaN(Number(i)),gn=i=>!!i&&Number.isInteger(Number(i)),Wr=i=>i.endsWith("%")&&bt(i.slice(0,-1)),La=i=>c1.test(i),m1=()=>!0,p1=i=>r1.test(i)&&!u1.test(i),nh=()=>!1,g1=i=>f1.test(i),h1=i=>d1.test(i),v1=i=>!et(i)&&!at(i),y1=i=>Gl(i,oh,nh),et=i=>eh.test(i),Vn=i=>Gl(i,sh,p1),Ir=i=>Gl(i,A1,bt),eg=i=>Gl(i,lh,nh),b1=i=>Gl(i,ih,h1),us=i=>Gl(i,ch,g1),at=i=>ah.test(i),Yi=i=>Vl(i,sh),x1=i=>Vl(i,w1),ag=i=>Vl(i,lh),S1=i=>Vl(i,oh),E1=i=>Vl(i,ih),fs=i=>Vl(i,ch,!0),Gl=(i,s,c)=>{const r=eh.exec(i);return r?r[1]?s(r[1]):c(r[2]):!1},Vl=(i,s,c=!1)=>{const r=ah.exec(i);return r?r[1]?s(r[1]):c:!1},lh=i=>i==="position"||i==="percentage",ih=i=>i==="image"||i==="url",oh=i=>i==="length"||i==="size"||i==="bg-size",sh=i=>i==="length",A1=i=>i==="number",w1=i=>i==="family-name",ch=i=>i==="shadow",T1=()=>{const i=It("color"),s=It("font"),c=It("text"),r=It("font-weight"),f=It("tracking"),d=It("leading"),h=It("breakpoint"),b=It("container"),v=It("spacing"),p=It("radius"),x=It("shadow"),m=It("inset-shadow"),C=It("text-shadow"),O=It("drop-shadow"),M=It("blur"),H=It("perspective"),q=It("aspect"),Y=It("ease"),K=It("animate"),$=()=>["auto","avoid","all","avoid-page","page","left","right","column"],F=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],I=()=>[...F(),at,et],P=()=>["auto","hidden","clip","visible","scroll"],Z=()=>["auto","contain","none"],J=()=>[at,et,v],mt=()=>[jl,"full","auto",...J()],St=()=>[gn,"none","subgrid",at,et],Ot=()=>["auto",{span:["full",gn,at,et]},gn,at,et],gt=()=>[gn,"auto",at,et],ht=()=>["auto","min","max","fr",at,et],yt=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],xt=()=>["start","end","center","stretch","center-safe","end-safe"],w=()=>["auto",...J()],G=()=>[jl,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...J()],D=()=>[i,at,et],it=()=>[...F(),ag,eg,{position:[at,et]}],ct=()=>["no-repeat",{repeat:["","x","y","space","round"]}],E=()=>["auto","cover","contain",S1,y1,{size:[at,et]}],L=()=>[Wr,Yi,Vn],B=()=>["","none","full",p,at,et],Q=()=>["",bt,Yi,Vn],W=()=>["solid","dashed","dotted","double"],ot=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],nt=()=>[bt,Wr,ag,eg],ut=()=>["","none",M,at,et],Ct=()=>["none",bt,at,et],ae=()=>["none",bt,at,et],de=()=>[bt,at,et],ne=()=>[jl,"full",...J()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[La],breakpoint:[La],color:[m1],container:[La],"drop-shadow":[La],ease:["in","out","in-out"],font:[v1],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[La],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[La],shadow:[La],spacing:["px",bt],text:[La],"text-shadow":[La],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",jl,et,at,q]}],container:["container"],columns:[{columns:[bt,et,at,b]}],"break-after":[{"break-after":$()}],"break-before":[{"break-before":$()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:I()}],overflow:[{overflow:P()}],"overflow-x":[{"overflow-x":P()}],"overflow-y":[{"overflow-y":P()}],overscroll:[{overscroll:Z()}],"overscroll-x":[{"overscroll-x":Z()}],"overscroll-y":[{"overscroll-y":Z()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:mt()}],"inset-x":[{"inset-x":mt()}],"inset-y":[{"inset-y":mt()}],start:[{start:mt()}],end:[{end:mt()}],top:[{top:mt()}],right:[{right:mt()}],bottom:[{bottom:mt()}],left:[{left:mt()}],visibility:["visible","invisible","collapse"],z:[{z:[gn,"auto",at,et]}],basis:[{basis:[jl,"full","auto",b,...J()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[bt,jl,"auto","initial","none",et]}],grow:[{grow:["",bt,at,et]}],shrink:[{shrink:["",bt,at,et]}],order:[{order:[gn,"first","last","none",at,et]}],"grid-cols":[{"grid-cols":St()}],"col-start-end":[{col:Ot()}],"col-start":[{"col-start":gt()}],"col-end":[{"col-end":gt()}],"grid-rows":[{"grid-rows":St()}],"row-start-end":[{row:Ot()}],"row-start":[{"row-start":gt()}],"row-end":[{"row-end":gt()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ht()}],"auto-rows":[{"auto-rows":ht()}],gap:[{gap:J()}],"gap-x":[{"gap-x":J()}],"gap-y":[{"gap-y":J()}],"justify-content":[{justify:[...yt(),"normal"]}],"justify-items":[{"justify-items":[...xt(),"normal"]}],"justify-self":[{"justify-self":["auto",...xt()]}],"align-content":[{content:["normal",...yt()]}],"align-items":[{items:[...xt(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...xt(),{baseline:["","last"]}]}],"place-content":[{"place-content":yt()}],"place-items":[{"place-items":[...xt(),"baseline"]}],"place-self":[{"place-self":["auto",...xt()]}],p:[{p:J()}],px:[{px:J()}],py:[{py:J()}],ps:[{ps:J()}],pe:[{pe:J()}],pt:[{pt:J()}],pr:[{pr:J()}],pb:[{pb:J()}],pl:[{pl:J()}],m:[{m:w()}],mx:[{mx:w()}],my:[{my:w()}],ms:[{ms:w()}],me:[{me:w()}],mt:[{mt:w()}],mr:[{mr:w()}],mb:[{mb:w()}],ml:[{ml:w()}],"space-x":[{"space-x":J()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":J()}],"space-y-reverse":["space-y-reverse"],size:[{size:G()}],w:[{w:[b,"screen",...G()]}],"min-w":[{"min-w":[b,"screen","none",...G()]}],"max-w":[{"max-w":[b,"screen","none","prose",{screen:[h]},...G()]}],h:[{h:["screen","lh",...G()]}],"min-h":[{"min-h":["screen","lh","none",...G()]}],"max-h":[{"max-h":["screen","lh",...G()]}],"font-size":[{text:["base",c,Yi,Vn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,at,Ir]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Wr,et]}],"font-family":[{font:[x1,et,s]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[f,at,et]}],"line-clamp":[{"line-clamp":[bt,"none",at,Ir]}],leading:[{leading:[d,...J()]}],"list-image":[{"list-image":["none",at,et]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",at,et]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:D()}],"text-color":[{text:D()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...W(),"wavy"]}],"text-decoration-thickness":[{decoration:[bt,"from-font","auto",at,Vn]}],"text-decoration-color":[{decoration:D()}],"underline-offset":[{"underline-offset":[bt,"auto",at,et]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:J()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",at,et]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",at,et]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:it()}],"bg-repeat":[{bg:ct()}],"bg-size":[{bg:E()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},gn,at,et],radial:["",at,et],conic:[gn,at,et]},E1,b1]}],"bg-color":[{bg:D()}],"gradient-from-pos":[{from:L()}],"gradient-via-pos":[{via:L()}],"gradient-to-pos":[{to:L()}],"gradient-from":[{from:D()}],"gradient-via":[{via:D()}],"gradient-to":[{to:D()}],rounded:[{rounded:B()}],"rounded-s":[{"rounded-s":B()}],"rounded-e":[{"rounded-e":B()}],"rounded-t":[{"rounded-t":B()}],"rounded-r":[{"rounded-r":B()}],"rounded-b":[{"rounded-b":B()}],"rounded-l":[{"rounded-l":B()}],"rounded-ss":[{"rounded-ss":B()}],"rounded-se":[{"rounded-se":B()}],"rounded-ee":[{"rounded-ee":B()}],"rounded-es":[{"rounded-es":B()}],"rounded-tl":[{"rounded-tl":B()}],"rounded-tr":[{"rounded-tr":B()}],"rounded-br":[{"rounded-br":B()}],"rounded-bl":[{"rounded-bl":B()}],"border-w":[{border:Q()}],"border-w-x":[{"border-x":Q()}],"border-w-y":[{"border-y":Q()}],"border-w-s":[{"border-s":Q()}],"border-w-e":[{"border-e":Q()}],"border-w-t":[{"border-t":Q()}],"border-w-r":[{"border-r":Q()}],"border-w-b":[{"border-b":Q()}],"border-w-l":[{"border-l":Q()}],"divide-x":[{"divide-x":Q()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Q()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...W(),"hidden","none"]}],"divide-style":[{divide:[...W(),"hidden","none"]}],"border-color":[{border:D()}],"border-color-x":[{"border-x":D()}],"border-color-y":[{"border-y":D()}],"border-color-s":[{"border-s":D()}],"border-color-e":[{"border-e":D()}],"border-color-t":[{"border-t":D()}],"border-color-r":[{"border-r":D()}],"border-color-b":[{"border-b":D()}],"border-color-l":[{"border-l":D()}],"divide-color":[{divide:D()}],"outline-style":[{outline:[...W(),"none","hidden"]}],"outline-offset":[{"outline-offset":[bt,at,et]}],"outline-w":[{outline:["",bt,Yi,Vn]}],"outline-color":[{outline:D()}],shadow:[{shadow:["","none",x,fs,us]}],"shadow-color":[{shadow:D()}],"inset-shadow":[{"inset-shadow":["none",m,fs,us]}],"inset-shadow-color":[{"inset-shadow":D()}],"ring-w":[{ring:Q()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:D()}],"ring-offset-w":[{"ring-offset":[bt,Vn]}],"ring-offset-color":[{"ring-offset":D()}],"inset-ring-w":[{"inset-ring":Q()}],"inset-ring-color":[{"inset-ring":D()}],"text-shadow":[{"text-shadow":["none",C,fs,us]}],"text-shadow-color":[{"text-shadow":D()}],opacity:[{opacity:[bt,at,et]}],"mix-blend":[{"mix-blend":[...ot(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ot()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[bt]}],"mask-image-linear-from-pos":[{"mask-linear-from":nt()}],"mask-image-linear-to-pos":[{"mask-linear-to":nt()}],"mask-image-linear-from-color":[{"mask-linear-from":D()}],"mask-image-linear-to-color":[{"mask-linear-to":D()}],"mask-image-t-from-pos":[{"mask-t-from":nt()}],"mask-image-t-to-pos":[{"mask-t-to":nt()}],"mask-image-t-from-color":[{"mask-t-from":D()}],"mask-image-t-to-color":[{"mask-t-to":D()}],"mask-image-r-from-pos":[{"mask-r-from":nt()}],"mask-image-r-to-pos":[{"mask-r-to":nt()}],"mask-image-r-from-color":[{"mask-r-from":D()}],"mask-image-r-to-color":[{"mask-r-to":D()}],"mask-image-b-from-pos":[{"mask-b-from":nt()}],"mask-image-b-to-pos":[{"mask-b-to":nt()}],"mask-image-b-from-color":[{"mask-b-from":D()}],"mask-image-b-to-color":[{"mask-b-to":D()}],"mask-image-l-from-pos":[{"mask-l-from":nt()}],"mask-image-l-to-pos":[{"mask-l-to":nt()}],"mask-image-l-from-color":[{"mask-l-from":D()}],"mask-image-l-to-color":[{"mask-l-to":D()}],"mask-image-x-from-pos":[{"mask-x-from":nt()}],"mask-image-x-to-pos":[{"mask-x-to":nt()}],"mask-image-x-from-color":[{"mask-x-from":D()}],"mask-image-x-to-color":[{"mask-x-to":D()}],"mask-image-y-from-pos":[{"mask-y-from":nt()}],"mask-image-y-to-pos":[{"mask-y-to":nt()}],"mask-image-y-from-color":[{"mask-y-from":D()}],"mask-image-y-to-color":[{"mask-y-to":D()}],"mask-image-radial":[{"mask-radial":[at,et]}],"mask-image-radial-from-pos":[{"mask-radial-from":nt()}],"mask-image-radial-to-pos":[{"mask-radial-to":nt()}],"mask-image-radial-from-color":[{"mask-radial-from":D()}],"mask-image-radial-to-color":[{"mask-radial-to":D()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":F()}],"mask-image-conic-pos":[{"mask-conic":[bt]}],"mask-image-conic-from-pos":[{"mask-conic-from":nt()}],"mask-image-conic-to-pos":[{"mask-conic-to":nt()}],"mask-image-conic-from-color":[{"mask-conic-from":D()}],"mask-image-conic-to-color":[{"mask-conic-to":D()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:it()}],"mask-repeat":[{mask:ct()}],"mask-size":[{mask:E()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",at,et]}],filter:[{filter:["","none",at,et]}],blur:[{blur:ut()}],brightness:[{brightness:[bt,at,et]}],contrast:[{contrast:[bt,at,et]}],"drop-shadow":[{"drop-shadow":["","none",O,fs,us]}],"drop-shadow-color":[{"drop-shadow":D()}],grayscale:[{grayscale:["",bt,at,et]}],"hue-rotate":[{"hue-rotate":[bt,at,et]}],invert:[{invert:["",bt,at,et]}],saturate:[{saturate:[bt,at,et]}],sepia:[{sepia:["",bt,at,et]}],"backdrop-filter":[{"backdrop-filter":["","none",at,et]}],"backdrop-blur":[{"backdrop-blur":ut()}],"backdrop-brightness":[{"backdrop-brightness":[bt,at,et]}],"backdrop-contrast":[{"backdrop-contrast":[bt,at,et]}],"backdrop-grayscale":[{"backdrop-grayscale":["",bt,at,et]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[bt,at,et]}],"backdrop-invert":[{"backdrop-invert":["",bt,at,et]}],"backdrop-opacity":[{"backdrop-opacity":[bt,at,et]}],"backdrop-saturate":[{"backdrop-saturate":[bt,at,et]}],"backdrop-sepia":[{"backdrop-sepia":["",bt,at,et]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":J()}],"border-spacing-x":[{"border-spacing-x":J()}],"border-spacing-y":[{"border-spacing-y":J()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",at,et]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[bt,"initial",at,et]}],ease:[{ease:["linear","initial",Y,at,et]}],delay:[{delay:[bt,at,et]}],animate:[{animate:["none",K,at,et]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[H,at,et]}],"perspective-origin":[{"perspective-origin":I()}],rotate:[{rotate:Ct()}],"rotate-x":[{"rotate-x":Ct()}],"rotate-y":[{"rotate-y":Ct()}],"rotate-z":[{"rotate-z":Ct()}],scale:[{scale:ae()}],"scale-x":[{"scale-x":ae()}],"scale-y":[{"scale-y":ae()}],"scale-z":[{"scale-z":ae()}],"scale-3d":["scale-3d"],skew:[{skew:de()}],"skew-x":[{"skew-x":de()}],"skew-y":[{"skew-y":de()}],transform:[{transform:[at,et,"","none","gpu","cpu"]}],"transform-origin":[{origin:I()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ne()}],"translate-x":[{"translate-x":ne()}],"translate-y":[{"translate-y":ne()}],"translate-z":[{"translate-z":ne()}],"translate-none":["translate-none"],accent:[{accent:D()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:D()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",at,et]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":J()}],"scroll-mx":[{"scroll-mx":J()}],"scroll-my":[{"scroll-my":J()}],"scroll-ms":[{"scroll-ms":J()}],"scroll-me":[{"scroll-me":J()}],"scroll-mt":[{"scroll-mt":J()}],"scroll-mr":[{"scroll-mr":J()}],"scroll-mb":[{"scroll-mb":J()}],"scroll-ml":[{"scroll-ml":J()}],"scroll-p":[{"scroll-p":J()}],"scroll-px":[{"scroll-px":J()}],"scroll-py":[{"scroll-py":J()}],"scroll-ps":[{"scroll-ps":J()}],"scroll-pe":[{"scroll-pe":J()}],"scroll-pt":[{"scroll-pt":J()}],"scroll-pr":[{"scroll-pr":J()}],"scroll-pb":[{"scroll-pb":J()}],"scroll-pl":[{"scroll-pl":J()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",at,et]}],fill:[{fill:["none",...D()]}],"stroke-w":[{stroke:[bt,Yi,Vn,Ir]}],stroke:[{stroke:["none",...D()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},C1=o1(T1);function Qn(...i){return C1(Ig(i))}function N1({delayDuration:i=0,...s}){return y.jsx(Zx,{"data-loc":"client/src/components/ui/tooltip.tsx:11","data-slot":"tooltip-provider",delayDuration:i,...s})}const ng=i=>typeof i=="boolean"?`${i}`:i===0?"0":i,lg=Ig,O1=(i,s)=>c=>{var r;if(s?.variants==null)return lg(i,c?.class,c?.className);const{variants:f,defaultVariants:d}=s,h=Object.keys(f).map(p=>{const x=c?.[p],m=d?.[p];if(x===null)return null;const C=ng(x)||ng(m);return f[p][C]}),b=c&&Object.entries(c).reduce((p,x)=>{let[m,C]=x;return C===void 0||(p[m]=C),p},{}),v=s==null||(r=s.compoundVariants)===null||r===void 0?void 0:r.reduce((p,x)=>{let{class:m,className:C,...O}=x;return Object.entries(O).every(M=>{let[H,q]=M;return Array.isArray(q)?q.includes({...d,...b}[H]):{...d,...b}[H]===q})?[...p,m,C]:p},[]);return lg(i,h,v,c?.class,c?.className)},R1=O1("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-transparent shadow-xs hover:bg-accent dark:bg-transparent dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function z1({className:i,variant:s,size:c,asChild:r=!1,...f}){const d=r?Hy:"button";return y.jsx(d,{"data-loc":"client/src/components/ui/button.tsx:52","data-slot":"button",className:Qn(R1({variant:s,size:c,className:i})),...f})}function _1({className:i,...s}){return y.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:7","data-slot":"card",className:Qn("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",i),...s})}function M1({className:i,...s}){return y.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:66","data-slot":"card-content",className:Qn("px-6",i),...s})}/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const D1=i=>i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),rh=(...i)=>i.filter((s,c,r)=>!!s&&r.indexOf(s)===c).join(" ");/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */var j1={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const H1=N.forwardRef(({color:i="currentColor",size:s=24,strokeWidth:c=2,absoluteStrokeWidth:r,className:f="",children:d,iconNode:h,...b},v)=>N.createElement("svg",{ref:v,...j1,width:s,height:s,stroke:i,strokeWidth:r?Number(c)*24/Number(s):c,className:rh("lucide",f),...b},[...h.map(([p,x])=>N.createElement(p,x)),...Array.isArray(d)?d:[d]]));/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const $e=(i,s)=>{const c=N.forwardRef(({className:r,...f},d)=>N.createElement(H1,{ref:d,iconNode:s,className:rh(`lucide-${D1(i)}`,r),...f}));return c.displayName=`${i}`,c};/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const U1=$e("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const kn=$e("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const B1=$e("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const L1=$e("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Hl=$e("CreditCard",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const q1=$e("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Y1=$e("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ig=$e("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const G1=$e("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const V1=$e("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const k1=$e("Star",[["polygon",{points:"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2",key:"8f66p6"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const X1=$e("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);function Q1(i,s){if(i instanceof RegExp)return{keys:!1,pattern:i};var c,r,f,d,h=[],b="",v=i.split("/");for(v[0]||v.shift();f=v.shift();)c=f[0],c==="*"?(h.push(c),b+=f[1]==="?"?"(?:/(.*))?":"/(.*)"):c===":"?(r=f.indexOf("?",1),d=f.indexOf(".",1),h.push(f.substring(1,~r?r:~d?d:f.length)),b+=~r&&!~d?"(?:/([^/]+?))?":"/([^/]+?)",~d&&(b+=(~r?"?":"")+"\\"+f.substring(d))):b+="/"+f;return{keys:h,pattern:new RegExp("^"+b+(s?"(?=$|/)":"/?$"),"i")}}var Pr={exports:{}},tu={};/** * @license React * use-sync-external-store-shim.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var og;function Z1(){if(og)return tu;og=1;var i=bs();function s(m,C){return m===C&&(m!==0||1/m===1/C)||m!==m&&C!==C}var c=typeof Object.is=="function"?Object.is:s,r=i.useState,f=i.useEffect,d=i.useLayoutEffect,h=i.useDebugValue;function b(m,C){var O=C(),M=r({inst:{value:O,getSnapshot:C}}),H=M[0].inst,q=M[1];return d(function(){H.value=O,H.getSnapshot=C,v(H)&&q({inst:H})},[m,O,C]),f(function(){return v(H)&&q({inst:H}),m(function(){v(H)&&q({inst:H})})},[m]),h(O),O}function v(m){var C=m.getSnapshot;m=m.value;try{var O=C();return!c(m,O)}catch{return!0}}function p(m,C){return C()}var x=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?p:b;return tu.useSyncExternalStore=i.useSyncExternalStore!==void 0?i.useSyncExternalStore:x,tu}var sg;function K1(){return sg||(sg=1,Pr.exports=Z1()),Pr.exports}var J1=K1();const $1=mu.useInsertionEffect,F1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",W1=F1?N.useLayoutEffect:N.useEffect,I1=$1||W1,uh=i=>{const s=N.useRef([i,(...c)=>s[0](...c)]).current;return I1(()=>{s[0]=i}),s[1]},P1="popstate",Cu="pushState",Nu="replaceState",t2="hashchange",cg=[P1,Cu,Nu,t2],e2=i=>{for(const s of cg)addEventListener(s,i);return()=>{for(const s of cg)removeEventListener(s,i)}},fh=(i,s)=>J1.useSyncExternalStore(e2,i,s),a2=()=>location.search,n2=({ssrSearch:i=""}={})=>fh(a2,()=>i),rg=()=>location.pathname,l2=({ssrPath:i}={})=>fh(rg,i?()=>i:rg),i2=(i,{replace:s=!1,state:c=null}={})=>history[s?Nu:Cu](c,"",i),o2=(i={})=>[l2(i),i2],ug=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[ug]>"u"){for(const i of[Cu,Nu]){const s=history[i];history[i]=function(){const c=s.apply(this,arguments),r=new Event(i);return r.arguments=arguments,dispatchEvent(r),c}}Object.defineProperty(window,ug,{value:!0})}const s2=(i,s)=>s.toLowerCase().indexOf(i.toLowerCase())?"~"+s:s.slice(i.length)||"/",dh=(i="")=>i==="/"?"":i,c2=(i,s)=>i[0]==="~"?i.slice(1):dh(s)+i,r2=(i="",s)=>s2(fg(dh(i)),fg(s)),fg=i=>{try{return decodeURI(i)}catch{return i}},mh={hook:o2,searchHook:n2,parser:Q1,base:"",ssrPath:void 0,ssrSearch:void 0,ssrContext:void 0,hrefs:i=>i},ph=N.createContext(mh),Qi=()=>N.useContext(ph),gh={},hh=N.createContext(gh),u2=()=>N.useContext(hh),Ns=i=>{const[s,c]=i.hook(i);return[r2(i.base,s),uh((r,f)=>c(c2(r,i.base),f))]},f2=()=>Ns(Qi()),vh=(i,s,c,r)=>{const{pattern:f,keys:d}=s instanceof RegExp?{keys:!1,pattern:s}:i(s||"*",r),h=f.exec(c)||[],[b,...v]=h;return b!==void 0?[!0,(()=>{const p=d!==!1?Object.fromEntries(d.map((m,C)=>[m,v[C]])):h.groups;let x={...v};return p&&Object.assign(x,p),x})(),...r?[b]:[]]:[!1,null]},d2=({children:i,...s})=>{const c=Qi(),r=s.hook?mh:c;let f=r;const[d,h]=s.ssrPath?.split("?")??[];h&&(s.ssrSearch=h,s.ssrPath=d),s.hrefs=s.hrefs??s.hook?.hrefs;let b=N.useRef({}),v=b.current,p=v;for(let x in r){const m=x==="base"?r[x]+(s[x]||""):s[x]||r[x];v===p&&m!==p[x]&&(b.current=p={...p}),p[x]=m,(m!==r[x]||m!==f[x])&&(f=p)}return N.createElement(ph.Provider,{value:f,children:i})},dg=({children:i,component:s},c)=>s?N.createElement(s,{params:c}):typeof i=="function"?i(c):i,m2=i=>{let s=N.useRef(gh);const c=s.current;return s.current=Object.keys(i).length!==Object.keys(c).length||Object.entries(i).some(([r,f])=>f!==c[r])?i:c},eu=({path:i,nest:s,match:c,...r})=>{const f=Qi(),[d]=Ns(f),[h,b,v]=c??vh(f.parser,i,d,s),p=m2({...u2(),...b});if(!h)return null;const x=v?N.createElement(d2,{base:v},dg(r,p)):dg(r,p);return N.createElement(hh.Provider,{value:p,children:x})};N.forwardRef((i,s)=>{const c=Qi(),[r,f]=Ns(c),{to:d="",href:h=d,onClick:b,asChild:v,children:p,className:x,replace:m,state:C,...O}=i,M=uh(q=>{q.ctrlKey||q.metaKey||q.altKey||q.shiftKey||q.button!==0||(b?.(q),q.defaultPrevented||(q.preventDefault(),f(h,i)))}),H=c.hrefs(h[0]==="~"?h.slice(1):c.base+h,c);return v&&N.isValidElement(p)?N.cloneElement(p,{onClick:M,href:H}):N.createElement("a",{...O,onClick:M,href:H,className:x?.call?x(r===h):x,children:p,ref:s})});const fu=i=>Array.isArray(i)?i.flatMap(s=>fu(s&&s.type===N.Fragment?s.props.children:s)):[i],p2=({children:i,location:s})=>{const c=Qi(),[r]=Ns(c);typeof window<"u"&&(window.__WOUTER_ROUTES__||(window.__WOUTER_ROUTES__=[]),fu(i).forEach(d=>{if(N.isValidElement(d)&&d.props.path){const h=d.props.path;window.__WOUTER_ROUTES__.includes(h)||window.__WOUTER_ROUTES__.push(h)}}));for(const f of fu(i)){let d=0;if(N.isValidElement(f)&&(d=vh(c.parser,f.props.path,s||r,f.props.nest))[0])return N.cloneElement(f,{match:d})}return null};function mg(){const[,i]=f2(),s=()=>{i("/")};return y.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:14",className:"min-h-screen w-full flex items-center justify-center bg-gradient-to-br from-slate-50 to-slate-100",children:y.jsx(_1,{"data-loc":"client/src/pages/NotFound.tsx:15",className:"w-full max-w-lg mx-4 shadow-lg border-0 bg-white/80 backdrop-blur-sm",children:y.jsxs(M1,{"data-loc":"client/src/pages/NotFound.tsx:16",className:"pt-8 pb-8 text-center",children:[y.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:17",className:"flex justify-center mb-6",children:y.jsxs("div",{"data-loc":"client/src/pages/NotFound.tsx:18",className:"relative",children:[y.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:19",className:"absolute inset-0 bg-red-100 rounded-full animate-pulse"}),y.jsx(L1,{"data-loc":"client/src/pages/NotFound.tsx:20",className:"relative h-16 w-16 text-red-500"})]})}),y.jsx("h1",{"data-loc":"client/src/pages/NotFound.tsx:24",className:"text-4xl font-bold text-slate-900 mb-2",children:"404"}),y.jsx("h2",{"data-loc":"client/src/pages/NotFound.tsx:26",className:"text-xl font-semibold text-slate-700 mb-4",children:"Page Not Found"}),y.jsxs("p",{"data-loc":"client/src/pages/NotFound.tsx:30",className:"text-slate-600 mb-8 leading-relaxed",children:["Sorry, the page you are looking for doesn't exist.",y.jsx("br",{"data-loc":"client/src/pages/NotFound.tsx:32"}),"It may have been moved or deleted."]}),y.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:36",className:"flex flex-col sm:flex-row gap-3 justify-center",children:y.jsxs(z1,{"data-loc":"client/src/pages/NotFound.tsx:37",onClick:s,className:"bg-blue-600 hover:bg-blue-700 text-white px-6 py-2.5 rounded-lg transition-all duration-200 shadow-md hover:shadow-lg",children:[y.jsx(Y1,{"data-loc":"client/src/pages/NotFound.tsx:41",className:"w-4 h-4 mr-2"}),"Go Home"]})})]})})})}class g2 extends N.Component{constructor(s){super(s),this.state={hasError:!1,error:null}}static getDerivedStateFromError(s){return{hasError:!0,error:s}}render(){return this.state.hasError?y.jsx("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:27",className:"flex items-center justify-center min-h-screen p-8 bg-background",children:y.jsxs("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:28",className:"flex flex-col items-center w-full max-w-2xl p-8",children:[y.jsx(X1,{"data-loc":"client/src/components/ErrorBoundary.tsx:29",size:48,className:"text-destructive mb-6 flex-shrink-0"}),y.jsx("h2",{"data-loc":"client/src/components/ErrorBoundary.tsx:34",className:"text-xl mb-4",children:"An unexpected error occurred."}),y.jsx("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:36",className:"p-4 w-full rounded bg-muted overflow-auto mb-6",children:y.jsx("pre",{"data-loc":"client/src/components/ErrorBoundary.tsx:37",className:"text-sm text-muted-foreground whitespace-break-spaces",children:this.state.error?.stack})}),y.jsxs("button",{"data-loc":"client/src/components/ErrorBoundary.tsx:42",onClick:()=>window.location.reload(),className:Qn("flex items-center gap-2 px-4 py-2 rounded-lg","bg-primary text-primary-foreground","hover:opacity-90 cursor-pointer"),children:[y.jsx(G1,{"data-loc":"client/src/components/ErrorBoundary.tsx:50",size:16}),"Reload Page"]})]})}):this.props.children}}const h2=N.createContext(void 0);function v2({children:i,defaultTheme:s="light",switchable:c=!1}){const[r,f]=N.useState(()=>c&&localStorage.getItem("theme")||s);N.useEffect(()=>{const h=document.documentElement;r==="dark"?h.classList.add("dark"):h.classList.remove("dark"),c&&localStorage.setItem("theme",r)},[r,c]);const d=c?()=>{f(h=>h==="light"?"dark":"light")}:void 0;return y.jsx(h2.Provider,{"data-loc":"client/src/contexts/ThemeContext.tsx:52",value:{theme:r,toggleTheme:d,switchable:c},children:i})}function y2(i){const s=i+"CollectionProvider",[c,r]=ki(s),[f,d]=c(s,{collectionRef:{current:null},itemMap:new Map}),h=H=>{const{scope:q,children:Y}=H,K=X.useRef(null),$=X.useRef(new Map).current;return y.jsx(f,{scope:q,itemMap:$,collectionRef:K,children:Y})};h.displayName=s;const b=i+"CollectionSlot",v=ms(b),p=X.forwardRef((H,q)=>{const{scope:Y,children:K}=H,$=d(b,Y),F=na(q,$.collectionRef);return y.jsx(v,{ref:F,children:K})});p.displayName=b;const x=i+"CollectionItemSlot",m="data-radix-collection-item",C=ms(x),O=X.forwardRef((H,q)=>{const{scope:Y,children:K,...$}=H,F=X.useRef(null),I=na(q,F),P=d(x,Y);return X.useEffect(()=>(P.itemMap.set(F,{ref:F,...$}),()=>void P.itemMap.delete(F))),y.jsx(C,{[m]:"",ref:I,children:K})});O.displayName=x;function M(H){const q=d(i+"CollectionConsumer",H);return X.useCallback(()=>{const K=q.collectionRef.current;if(!K)return[];const $=Array.from(K.querySelectorAll(`[${m}]`));return Array.from(q.itemMap.values()).sort((P,Z)=>$.indexOf(P.ref.current)-$.indexOf(Z.ref.current))},[q.collectionRef,q.itemMap])}return[{Provider:h,Slot:p,ItemSlot:O},M,r]}var Os="Collapsible",[b2,yh]=ki(Os),[x2,Ou]=b2(Os),bh=N.forwardRef((i,s)=>{const{__scopeCollapsible:c,open:r,defaultOpen:f,disabled:d,onOpenChange:h,...b}=i,[v,p]=Au({prop:r,defaultProp:f??!1,onChange:h,caller:Os});return y.jsx(x2,{scope:c,disabled:d,contentId:Sg(),open:v,onOpenToggle:N.useCallback(()=>p(x=>!x),[p]),children:y.jsx(Je.div,{"data-state":zu(v),"data-disabled":d?"":void 0,...b,ref:s})})});bh.displayName=Os;var xh="CollapsibleTrigger",Sh=N.forwardRef((i,s)=>{const{__scopeCollapsible:c,...r}=i,f=Ou(xh,c);return y.jsx(Je.button,{type:"button","aria-controls":f.contentId,"aria-expanded":f.open||!1,"data-state":zu(f.open),"data-disabled":f.disabled?"":void 0,disabled:f.disabled,...r,ref:s,onClick:aa(i.onClick,f.onOpenToggle)})});Sh.displayName=xh;var Ru="CollapsibleContent",Eh=N.forwardRef((i,s)=>{const{forceMount:c,...r}=i,f=Ou(Ru,i.__scopeCollapsible);return y.jsx(Eu,{present:c||f.open,children:({present:d})=>y.jsx(S2,{...r,ref:s,present:d})})});Eh.displayName=Ru;var S2=N.forwardRef((i,s)=>{const{__scopeCollapsible:c,present:r,children:f,...d}=i,h=Ou(Ru,c),[b,v]=N.useState(r),p=N.useRef(null),x=na(s,p),m=N.useRef(0),C=m.current,O=N.useRef(0),M=O.current,H=h.open||b,q=N.useRef(H),Y=N.useRef(void 0);return N.useEffect(()=>{const K=requestAnimationFrame(()=>q.current=!1);return()=>cancelAnimationFrame(K)},[]),hn(()=>{const K=p.current;if(K){Y.current=Y.current||{transitionDuration:K.style.transitionDuration,animationName:K.style.animationName},K.style.transitionDuration="0s",K.style.animationName="none";const $=K.getBoundingClientRect();m.current=$.height,O.current=$.width,q.current||(K.style.transitionDuration=Y.current.transitionDuration,K.style.animationName=Y.current.animationName),v(r)}},[h.open,r]),y.jsx(Je.div,{"data-state":zu(h.open),"data-disabled":h.disabled?"":void 0,id:h.contentId,hidden:!H,...d,ref:x,style:{"--radix-collapsible-content-height":C?`${C}px`:void 0,"--radix-collapsible-content-width":M?`${M}px`:void 0,...i.style},children:H&&f})});function zu(i){return i?"open":"closed"}var E2=bh,A2=Sh,w2=Eh,T2=N.createContext(void 0);function C2(i){const s=N.useContext(T2);return i||s||"ltr"}var oa="Accordion",N2=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[_u,O2,R2]=y2(oa),[Rs]=ki(oa,[R2,yh]),Mu=yh(),Ah=X.forwardRef((i,s)=>{const{type:c,...r}=i,f=r,d=r;return y.jsx(_u.Provider,{scope:i.__scopeAccordion,children:c==="multiple"?y.jsx(D2,{...d,ref:s}):y.jsx(M2,{...f,ref:s})})});Ah.displayName=oa;var[wh,z2]=Rs(oa),[Th,_2]=Rs(oa,{collapsible:!1}),M2=X.forwardRef((i,s)=>{const{value:c,defaultValue:r,onValueChange:f=()=>{},collapsible:d=!1,...h}=i,[b,v]=Au({prop:c,defaultProp:r??"",onChange:f,caller:oa});return y.jsx(wh,{scope:i.__scopeAccordion,value:X.useMemo(()=>b?[b]:[],[b]),onItemOpen:v,onItemClose:X.useCallback(()=>d&&v(""),[d,v]),children:y.jsx(Th,{scope:i.__scopeAccordion,collapsible:d,children:y.jsx(Ch,{...h,ref:s})})})}),D2=X.forwardRef((i,s)=>{const{value:c,defaultValue:r,onValueChange:f=()=>{},...d}=i,[h,b]=Au({prop:c,defaultProp:r??[],onChange:f,caller:oa}),v=X.useCallback(x=>b((m=[])=>[...m,x]),[b]),p=X.useCallback(x=>b((m=[])=>m.filter(C=>C!==x)),[b]);return y.jsx(wh,{scope:i.__scopeAccordion,value:h,onItemOpen:v,onItemClose:p,children:y.jsx(Th,{scope:i.__scopeAccordion,collapsible:!0,children:y.jsx(Ch,{...d,ref:s})})})}),[j2,zs]=Rs(oa),Ch=X.forwardRef((i,s)=>{const{__scopeAccordion:c,disabled:r,dir:f,orientation:d="vertical",...h}=i,b=X.useRef(null),v=na(b,s),p=O2(c),m=C2(f)==="ltr",C=aa(i.onKeyDown,O=>{if(!N2.includes(O.key))return;const M=O.target,H=p().filter(J=>!J.ref.current?.disabled),q=H.findIndex(J=>J.ref.current===M),Y=H.length;if(q===-1)return;O.preventDefault();let K=q;const $=0,F=Y-1,I=()=>{K=q+1,K>F&&(K=$)},P=()=>{K=q-1,K<$&&(K=F)};switch(O.key){case"Home":K=$;break;case"End":K=F;break;case"ArrowRight":d==="horizontal"&&(m?I():P());break;case"ArrowDown":d==="vertical"&&I();break;case"ArrowLeft":d==="horizontal"&&(m?P():I());break;case"ArrowUp":d==="vertical"&&P();break}const Z=K%Y;H[Z].ref.current?.focus()});return y.jsx(j2,{scope:c,disabled:r,direction:f,orientation:d,children:y.jsx(_u.Slot,{scope:c,children:y.jsx(Je.div,{...h,"data-orientation":d,ref:v,onKeyDown:r?void 0:C})})})}),ys="AccordionItem",[H2,Du]=Rs(ys),Nh=X.forwardRef((i,s)=>{const{__scopeAccordion:c,value:r,...f}=i,d=zs(ys,c),h=z2(ys,c),b=Mu(c),v=Sg(),p=r&&h.value.includes(r)||!1,x=d.disabled||i.disabled;return y.jsx(H2,{scope:c,open:p,disabled:x,triggerId:v,children:y.jsx(E2,{"data-orientation":d.orientation,"data-state":Dh(p),...b,...f,ref:s,disabled:x,open:p,onOpenChange:m=>{m?h.onItemOpen(r):h.onItemClose(r)}})})});Nh.displayName=ys;var Oh="AccordionHeader",Rh=X.forwardRef((i,s)=>{const{__scopeAccordion:c,...r}=i,f=zs(oa,c),d=Du(Oh,c);return y.jsx(Je.h3,{"data-orientation":f.orientation,"data-state":Dh(d.open),"data-disabled":d.disabled?"":void 0,...r,ref:s})});Rh.displayName=Oh;var du="AccordionTrigger",zh=X.forwardRef((i,s)=>{const{__scopeAccordion:c,...r}=i,f=zs(oa,c),d=Du(du,c),h=_2(du,c),b=Mu(c);return y.jsx(_u.ItemSlot,{scope:c,children:y.jsx(A2,{"aria-disabled":d.open&&!h.collapsible||void 0,"data-orientation":f.orientation,id:d.triggerId,...b,...r,ref:s})})});zh.displayName=du;var _h="AccordionContent",Mh=X.forwardRef((i,s)=>{const{__scopeAccordion:c,...r}=i,f=zs(oa,c),d=Du(_h,c),h=Mu(c);return y.jsx(w2,{role:"region","aria-labelledby":d.triggerId,"data-orientation":f.orientation,...h,...r,ref:s,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...i.style}})});Mh.displayName=_h;function Dh(i){return i?"open":"closed"}var U2=Ah,B2=Nh,L2=Rh,q2=zh,Y2=Mh;function G2({...i}){return y.jsx(U2,{"data-loc":"client/src/components/ui/accordion.tsx:10","data-slot":"accordion",...i})}function V2({className:i,...s}){return y.jsx(B2,{"data-loc":"client/src/components/ui/accordion.tsx:18","data-slot":"accordion-item",className:Qn("border-b last:border-b-0",i),...s})}function k2({className:i,children:s,...c}){return y.jsx(L2,{"data-loc":"client/src/components/ui/accordion.tsx:32",className:"flex",children:y.jsxs(q2,{"data-loc":"client/src/components/ui/accordion.tsx:33","data-slot":"accordion-trigger",className:Qn("focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",i),...c,children:[s,y.jsx(B1,{"data-loc":"client/src/components/ui/accordion.tsx:42",className:"text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"})]})})}function X2({className:i,children:s,...c}){return y.jsx(Y2,{"data-loc":"client/src/components/ui/accordion.tsx:54","data-slot":"accordion-content",className:"data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm",...c,children:y.jsx("div",{"data-loc":"client/src/components/ui/accordion.tsx:59",className:Qn("pt-0 pb-4",i),children:s})})}function Q2(){const i=()=>{const s=document.getElementById("checkout");s&&s.scrollIntoView({behavior:"smooth"})};return y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:21",className:"min-h-screen bg-white font-sans",children:[y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:23",className:"bg-[#F4A300] text-black text-center py-3 px-4 text-sm font-bold uppercase tracking-wide",children:"🎉 Oferta por tempo limitado: 23/01/2026 🎉"}),y.jsx("section",{"data-loc":"client/src/pages/Home.tsx:28",className:"bg-[#FFF3E6] py-12 md:py-20",children:y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:29",className:"container mx-auto text-center",children:[y.jsxs("h1",{"data-loc":"client/src/pages/Home.tsx:30",className:"text-2xl sm:text-3xl md:text-4xl lg:text-4xl font-extrabold text-black leading-[1.3] mb-6 max-w-6xl mx-auto tracking-tight",children:["MAIS DE ",y.jsx("span",{"data-loc":"client/src/pages/Home.tsx:31",className:"text-[#F47C00]",children:"10 RECEITAS"})," PARA VOCÊ VARIAR OS SABORES",y.jsx("br",{"data-loc":"client/src/pages/Home.tsx:31"}),"E ",y.jsx("span",{"data-loc":"client/src/pages/Home.tsx:32",className:"text-[#F47C00]",children:"MATAR A VONTADE DE DOCE SEM SAIR DA DIETA!"})]}),y.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:35",className:"text-lg md:text-xl text-gray-800 max-w-3xl mx-auto mb-10 leading-relaxed italic",children:["Transforme ingredientes simples da sua cozinha em brigadeiros ",y.jsx("strong",{"data-loc":"client/src/pages/Home.tsx:36",children:"saudáveis"}),", ",y.jsx("strong",{"data-loc":"client/src/pages/Home.tsx:36",children:"práticos e cheios de sabor"})," — sem sair da dieta."]}),y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:40",className:"grid grid-cols-3 md:grid-cols-6 gap-2 md:gap-4 mb-12 max-w-5xl mx-auto",children:[{img:"brigadeiro-chocolate",alt:"Brigadeiro de Chocolate"},{img:"brigadeiro-coco",alt:"Brigadeiro de Coco"},{img:"brigadeiro-pacoca",alt:"Brigadeiro de Paçoca"},{img:"brigadeiro-morango",alt:"Brigadeiro de Morango"},{img:"brigadeiro-chocolate",alt:"Brigadeiro de Chocolate"},{img:"brigadeiro-coco",alt:"Brigadeiro de Coco"},{img:"brigadeiro-pacoca",alt:"Brigadeiro de Paçoca"},{img:"brigadeiro-morango",alt:"Brigadeiro de Morango"},{img:"brigadeiro-chocolate",alt:"Brigadeiro de Chocolate"},{img:"brigadeiro-coco",alt:"Brigadeiro de Coco"},{img:"brigadeiro-pacoca",alt:"Brigadeiro de Paçoca"},{img:"brigadeiro-morango",alt:"Brigadeiro de Morango"}].map((s,c)=>y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:55",className:"aspect-[3/2] rounded-lg overflow-hidden shadow-sm hover:shadow-md transition-shadow",children:y.jsx("img",{"data-loc":"client/src/pages/Home.tsx:56",src:`/images/${s.img}.jpg`,alt:s.alt,className:"w-full h-full object-cover hover:scale-105 transition-transform duration-500"})},c))}),y.jsx("button",{"data-loc":"client/src/pages/Home.tsx:65",onClick:i,className:"btn-primary text-lg md:text-xl w-full md:w-auto px-8 md:px-16 py-5 italic",children:"QUERO AS RECEITAS!"}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:69",className:"flex flex-wrap justify-center gap-4 md:gap-8 mt-8 text-xs md:text-sm font-bold text-gray-700 uppercase",children:[y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:70",className:"flex items-center gap-2",children:[y.jsx(V1,{"data-loc":"client/src/pages/Home.tsx:70",className:"w-5 h-5 text-[#F4A300]"})," 7 DIAS DE GARANTIA"]}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:71",className:"flex items-center gap-2",children:[y.jsx(ig,{"data-loc":"client/src/pages/Home.tsx:71",className:"w-5 h-5 text-[#F4A300]"})," COMPRA SEGURA"]}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:72",className:"flex items-center gap-2",children:[y.jsx(Hl,{"data-loc":"client/src/pages/Home.tsx:72",className:"w-5 h-5 text-[#F4A300]"})," PIX"]}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:73",className:"flex items-center gap-2",children:[y.jsx(Hl,{"data-loc":"client/src/pages/Home.tsx:73",className:"w-5 h-5 text-[#F4A300]"})," CARTÃO"]}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:74",className:"flex items-center gap-2",children:[y.jsx(Hl,{"data-loc":"client/src/pages/Home.tsx:74",className:"w-5 h-5 text-[#F4A300]"})," BOLETO"]})]})]})}),y.jsx("section",{"data-loc":"client/src/pages/Home.tsx:80",className:"bg-[#F6E7AE] py-16 md:py-24",children:y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:81",className:"container mx-auto",children:[y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:82",className:"grid md:grid-cols-12 gap-10 items-center",children:[y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:83",className:"md:col-span-7 space-y-6",children:[y.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:84",className:"text-2xl md:text-3xl font-extrabold text-[#F47C00] uppercase mb-4",children:"POR QUE ESSE GUIA É ESSENCIAL PARA VOCÊ?"}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:88",className:"space-y-4 text-gray-800 text-base md:text-lg leading-relaxed",children:[y.jsx("p",{"data-loc":"client/src/pages/Home.tsx:89",children:"Você ama doce, mas quer emagrecer, manter a dieta ou cuidar da saúde, e já cansou de cortar sobremesas?"}),y.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:92",children:["Muita gente sabe que açúcar, lactose e ingredientes ultraprocessados atrapalham os resultados, mas desiste porque acha que ",y.jsx("strong",{"data-loc":"client/src/pages/Home.tsx:93",children:"doce saudável não tem sabor"}),"."]}),y.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:95",children:["Com este e-book, isso não será mais ",y.jsx("strong",{"data-loc":"client/src/pages/Home.tsx:96",children:"um problema!"})]}),y.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:98",children:["Você vai aprender ",y.jsx("strong",{"data-loc":"client/src/pages/Home.tsx:99",children:"10 receitas de brigadeiro saudável"}),", sem açúcar, sem lactose e sem glúten, com sabor incrível e prontas em minutos."]}),y.jsx("p",{"data-loc":"client/src/pages/Home.tsx:101",children:"Além de mais saudável, fazer seus próprios brigadeiros em casa é mais barato do que comprar doces industrializados."})]}),y.jsx("ul",{"data-loc":"client/src/pages/Home.tsx:106",className:"space-y-3 mt-6",children:["Ideal para dieta ou reeducação alimentar","Receitas rápidas e com poucos ingredientes","Doce saudável, prático e saboroso","O valor do e-book se paga nas primeiras receitas"].map((s,c)=>y.jsxs("li",{"data-loc":"client/src/pages/Home.tsx:113",className:"flex items-start gap-3 text-gray-800 font-medium",children:[y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:114",className:"bg-[#2FA84F] rounded-full p-1 mt-0.5 shrink-0",children:y.jsx(kn,{"data-loc":"client/src/pages/Home.tsx:115",className:"w-3 h-3 text-white",strokeWidth:4})}),s]},c))})]}),y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:123",className:"md:col-span-5",children:y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:124",className:"bg-white p-6 rounded-xl shadow-2xl rotate-1 hover:rotate-0 transition-transform duration-300",children:[y.jsx("img",{"data-loc":"client/src/pages/Home.tsx:125",src:"/images/brigadeiro-essential-block.jpg",alt:"Brigadeiro Saudável",className:"w-full rounded-lg shadow-inner"}),y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:126",className:"text-center font-bold mt-4 text-gray-800 uppercase tracking-wide",children:"DOCE SEM CULPA"})]})})]}),y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:131",className:"text-center mt-16 mb-16",children:y.jsx("button",{"data-loc":"client/src/pages/Home.tsx:132",onClick:i,className:"btn-primary text-lg px-12 italic",children:"QUERO AS RECEITAS!"})}),y.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:137",className:"text-2xl md:text-3xl font-extrabold text-center text-gray-900 mb-10 uppercase",children:"RECEITAS QUE VOCÊ VAI APRENDER A FAZER:"}),y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:141",className:"grid grid-cols-2 md:grid-cols-4 gap-6",children:[{title:"BRIGADEIRO DE CHOCOLATE",img:"/images/brigadeiro-chocolate.jpg"},{title:"BRIGADEIRO DE COCO",img:"/images/brigadeiro-coco.jpg"},{title:"BRIGADEIRO DE PAÇOCA",img:"/images/brigadeiro-pacoca.jpg"},{title:"BRIGADEIRO DE MORANGO",img:"/images/brigadeiro-morango.jpg"}].map((s,c)=>y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:148",className:"bg-white rounded-xl overflow-hidden shadow-lg hover:-translate-y-1 transition-transform duration-300",children:[y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:149",className:"h-48 overflow-hidden",children:y.jsx("img",{"data-loc":"client/src/pages/Home.tsx:150",src:s.img,alt:s.title,className:"w-full h-full object-cover hover:scale-110 transition-transform duration-700"})}),y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:152",className:"p-4 text-center font-extrabold text-sm md:text-base uppercase tracking-wide bg-white",children:s.title})]},c))}),y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:159",className:"text-center mt-12",children:y.jsx("button",{"data-loc":"client/src/pages/Home.tsx:160",onClick:i,className:"btn-primary w-full md:w-auto px-8 py-4 text-base md:text-lg italic",children:'QUERO ADQUIRIR O E-BOOK "BRIGADEIRO SAUDÁVEL"'})})]})}),y.jsx("section",{"data-loc":"client/src/pages/Home.tsx:168",className:"bg-white py-16 md:py-24",children:y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:169",className:"container mx-auto",children:[y.jsxs("h2",{"data-loc":"client/src/pages/Home.tsx:170",className:"text-3xl md:text-4xl font-extrabold text-center text-gray-900 mb-16 leading-tight",children:["Veja a opinião de quem já comprou",y.jsx("br",{"data-loc":"client/src/pages/Home.tsx:171"}),"nossas receitas:"]}),y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:174",className:"grid md:grid-cols-3 gap-8 md:gap-12",children:[{name:"Vanessa",date:"14/05/2024",text:"Receber esse e-book foi um achado! Sempre tive vontade de comer doce sem culpa e essas receitas viraram rotina aqui em casa. Fáceis, rápidas e muito saborosas. Estou amando!",img:"/images/testimonial-1.jpg"},{name:"Thaís",date:"31/05/2024",text:"Sério, esse guia mudou minha relação com doce. Achei que seria só mais um e-book fit, mas me surpreendi demais. Já tenho minhas receitas favoritas e até meu filho aprovou!",img:"/images/testimonial-2.jpg"},{name:"Ana Paula M.",date:"03/09/2024",text:"Eu estava cansada de cortar doce da dieta. Quando comprei esse material, fiquei chocada com o sabor dos brigadeiros. Já testei várias receitas e todas ficam deliciosas. Agora sempre tenho uma opção saudável em casa!",img:"/images/testimonial-3.jpg"}].map((s,c)=>y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:195",className:"flex flex-col items-center text-center",children:[y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:196",className:"relative mb-6 w-full max-w-[300px]",children:y.jsx("img",{"data-loc":"client/src/pages/Home.tsx:197",src:s.img,alt:s.name,className:"w-full h-56 object-cover rounded-xl shadow-md"})}),y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:199",className:"font-bold text-lg text-gray-900",children:s.name}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:200",className:"flex items-center gap-2 text-sm my-2",children:[y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:201",className:"flex text-[#F4A300]",children:[1,2,3,4,5].map(r=>y.jsx(k1,{"data-loc":"client/src/pages/Home.tsx:202",className:"w-4 h-4 fill-current"},r))}),y.jsx("span",{"data-loc":"client/src/pages/Home.tsx:204",className:"text-gray-500 font-medium",children:s.date})]}),y.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:206",className:"text-gray-600 italic leading-relaxed max-w-xs",children:['"',s.text,'"']})]},c))})]})}),y.jsx("section",{"data-loc":"client/src/pages/Home.tsx:214",className:"bg-[#F6EAB2] py-16 md:py-24",children:y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:215",className:"container mx-auto max-w-4xl",children:[y.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:216",className:"text-3xl md:text-4xl font-extrabold text-center text-gray-900 mb-12 uppercase",children:"O QUE VOCÊ VAI RECEBER:"}),y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:220",className:"bg-white/50 backdrop-blur-sm rounded-2xl p-8 md:p-12 shadow-sm border border-[#F4A300]/20",children:y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:221",className:"space-y-6",children:[[{title:"E-book Brigadeiro Saudável",desc:"Aprenda a fazer brigadeiros sem açúcar, sem lactose e sem glúten, práticos e cheios de sabor."},{title:"Acesso Prático",desc:"Use no celular, tablet ou computador. Baixe e acesse quando quiser, mesmo sem internet."},{title:"Índice Interativo",desc:"Clique no nome da receita e vá direto para o preparo."},{title:"Receitas com Foto",desc:"Todas as receitas com imagens ilustrativas para facilitar e inspirar."},{title:"Receitas Rápidas e Simples",desc:"Poucos ingredientes e prontas em minutos."},{title:"Custo-benefício incrível",desc:"Um doce saudável por muito menos que comprar opções fit prontas."},{title:"Acesso Vitalício",desc:"Comprou uma vez, é seu pra sempre."},{title:"Garantia 100% Segura",desc:"Se não gostar, devolvemos seu dinheiro em até 7 dias, sem burocracia."}].map((s,c)=>y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:232",className:"flex gap-4",children:[y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:233",className:"bg-[#2FA84F] rounded-full w-6 h-6 flex items-center justify-center shrink-0 mt-1",children:y.jsx(kn,{"data-loc":"client/src/pages/Home.tsx:234",className:"w-4 h-4 text-white",strokeWidth:3})}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:236",className:"text-gray-800 text-base md:text-lg",children:[y.jsx("strong",{"data-loc":"client/src/pages/Home.tsx:237",children:s.title})," – ",s.desc]})]},c)),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:242",className:"pt-6 mt-6 border-t border-[#F4A300]/30",children:[y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:243",className:"flex gap-4 mb-4",children:[y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:244",className:"bg-[#2FA84F] rounded-full w-6 h-6 flex items-center justify-center shrink-0 mt-1",children:y.jsx(kn,{"data-loc":"client/src/pages/Home.tsx:245",className:"w-4 h-4 text-white",strokeWidth:3})}),y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:247",className:"text-gray-900 text-lg font-extrabold uppercase",children:"🎁 BÔNUS EXCLUSIVOS"})]}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:252",className:"ml-10 space-y-4",children:[y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:253",className:"flex gap-3 items-start",children:[y.jsx(U1,{"data-loc":"client/src/pages/Home.tsx:254",className:"w-5 h-5 text-[#F4A300] shrink-0 mt-1"}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:255",className:"text-gray-800",children:[y.jsx("strong",{"data-loc":"client/src/pages/Home.tsx:255",children:"Como Substituir o Açúcar sem Perder o Sabor:"})," Descubra as melhores alternativas para adoçar de forma saudável."]})]}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:257",className:"flex gap-3 items-start",children:[y.jsx(q1,{"data-loc":"client/src/pages/Home.tsx:258",className:"w-5 h-5 text-[#F4A300] shrink-0 mt-1"}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:259",className:"text-gray-800",children:[y.jsx("strong",{"data-loc":"client/src/pages/Home.tsx:259",children:"Doce na Dieta: Como Comer sem Culpa:"})," Aprenda como incluir sobremesas saudáveis no dia a dia sem atrapalhar seus resultados."]})]})]})]})]})}),y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:266",className:"text-center mt-12",children:y.jsx("button",{"data-loc":"client/src/pages/Home.tsx:267",onClick:i,className:"btn-primary w-full md:w-auto px-8 py-4 text-base md:text-lg italic",children:"QUERO AS RECEITAS!"})})]})}),y.jsx("section",{"data-loc":"client/src/pages/Home.tsx:275",id:"checkout",className:"bg-[#FBF5E6] py-16 md:py-24 border-t-4 border-[#F4A300]",children:y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:276",className:"container mx-auto",children:y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:277",className:"grid md:grid-cols-2 gap-12 items-center max-w-5xl mx-auto",children:[y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:278",className:"order-2 md:order-1",children:[y.jsxs("h2",{"data-loc":"client/src/pages/Home.tsx:279",className:"text-3xl md:text-4xl font-extrabold text-gray-900 mb-2 leading-tight",children:["NÃO PERCA ESSA OPORTUNIDADE",y.jsx("br",{"data-loc":"client/src/pages/Home.tsx:280"}),y.jsx("span",{"data-loc":"client/src/pages/Home.tsx:281",className:"text-[#D60000]",children:"OFERTA POR TEMPO LIMITADO"})]}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:284",className:"bg-white p-6 rounded-xl shadow-sm border border-gray-100 my-8 space-y-3 text-gray-600",children:[y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:285",className:"flex justify-between items-center border-b border-gray-100 pb-2",children:[y.jsx("span",{"data-loc":"client/src/pages/Home.tsx:286",children:"📚 E-book Brigadeiro Saudável"}),y.jsx("s",{"data-loc":"client/src/pages/Home.tsx:287",className:"text-gray-400",children:"R$ 49,90"})]}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:289",className:"flex justify-between items-center border-b border-gray-100 pb-2",children:[y.jsx("span",{"data-loc":"client/src/pages/Home.tsx:290",children:"🎁 Bônus: Como Substituir o Açúcar"}),y.jsx("s",{"data-loc":"client/src/pages/Home.tsx:291",className:"text-gray-400",children:"R$ 27,00"})]}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:293",className:"flex justify-between items-center",children:[y.jsx("span",{"data-loc":"client/src/pages/Home.tsx:294",children:"🍪 Bônus: Doce na Dieta sem Culpa"}),y.jsx("s",{"data-loc":"client/src/pages/Home.tsx:295",className:"text-gray-400",children:"R$ 27,00"})]}),y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:297",className:"border-t border-gray-100 pt-3 font-bold text-gray-800",children:"Valor total: R$ 103,00"})]}),y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:302",className:"text-[#D60000] text-xl font-bold mb-2",children:"🔥 Hoje por apenas"}),y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:306",className:"text-6xl md:text-7xl font-extrabold text-[#2FA84F] mb-6 tracking-tight",children:"R$ 19,90"}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:310",className:"space-y-2 mb-8 text-gray-700 font-medium",children:[y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:311",className:"flex items-center gap-2",children:[y.jsx(kn,{"data-loc":"client/src/pages/Home.tsx:311",className:"w-5 h-5 text-[#2FA84F]"})," Desconto especial por tempo limitado"]}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:312",className:"flex items-center gap-2",children:[y.jsx(kn,{"data-loc":"client/src/pages/Home.tsx:312",className:"w-5 h-5 text-[#2FA84F]"})," 2 bônus inclusos"]}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:313",className:"flex items-center gap-2",children:[y.jsx(kn,{"data-loc":"client/src/pages/Home.tsx:313",className:"w-5 h-5 text-[#2FA84F]"})," Acesso vitalício"]}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:314",className:"flex items-center gap-2",children:[y.jsx(kn,{"data-loc":"client/src/pages/Home.tsx:314",className:"w-5 h-5 text-[#2FA84F]"})," Garantia de 7 dias"]})]}),y.jsx("button",{"data-loc":"client/src/pages/Home.tsx:317",className:"btn-primary w-full text-xl py-5 animate-pulse italic",children:"ADQUIRIR AGORA!"}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:321",className:"flex flex-wrap items-center justify-center gap-3 mt-6 text-xs text-gray-500 uppercase font-bold tracking-wider",children:[y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:322",className:"flex items-center gap-1",children:[y.jsx(ig,{"data-loc":"client/src/pages/Home.tsx:322",className:"w-3 h-3"})," Compra segura"]}),y.jsx("span",{"data-loc":"client/src/pages/Home.tsx:323",children:"·"}),y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:324",className:"flex items-center gap-1",children:"7 dias de garantia"}),y.jsx("span",{"data-loc":"client/src/pages/Home.tsx:325",children:"·"}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:326",className:"flex items-center gap-1",children:[y.jsx(Hl,{"data-loc":"client/src/pages/Home.tsx:326",className:"w-3 h-3"})," Pix"]}),y.jsx("span",{"data-loc":"client/src/pages/Home.tsx:327",children:"·"}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:328",className:"flex items-center gap-1",children:[y.jsx(Hl,{"data-loc":"client/src/pages/Home.tsx:328",className:"w-3 h-3"})," Cartão"]}),y.jsx("span",{"data-loc":"client/src/pages/Home.tsx:329",children:"·"}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:330",className:"flex items-center gap-1",children:[y.jsx(Hl,{"data-loc":"client/src/pages/Home.tsx:330",className:"w-3 h-3"})," Boleto"]})]})]}),y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:334",className:"order-1 md:order-2 flex justify-center",children:y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:335",className:"relative",children:[y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:336",className:"absolute inset-0 bg-[#F4A300] rounded-full blur-3xl opacity-20 animate-pulse"}),y.jsx("img",{"data-loc":"client/src/pages/Home.tsx:337",src:"/images/ebook-cover-brigadeiro-v2.jpg",alt:"E-book Brigadeiro Saudável",className:"relative w-full max-w-md drop-shadow-2xl hover:scale-105 transition-transform duration-500 rounded-2xl"})]})})]})})}),y.jsx("section",{"data-loc":"client/src/pages/Home.tsx:345",className:"bg-white py-16 md:py-24",children:y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:346",className:"container mx-auto max-w-3xl",children:[y.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:347",className:"text-3xl font-extrabold text-center text-gray-900 mb-10 uppercase",children:"PERGUNTAS FREQUENTES:"}),y.jsx(G2,{"data-loc":"client/src/pages/Home.tsx:351",type:"single",collapsible:!0,className:"w-full space-y-4",children:[{q:"Como vou receber o e-book após a compra?",a:"Assim que seu pagamento for aprovado, você receberá um e-mail com todas as instruções para baixar o e-book e os bônus. O acesso é imediato e o material será seu para sempre."},{q:"O e-book é físico ou digital?",a:"É um livro digital (e-book) em formato PDF de alta qualidade. Você pode ler no celular, tablet, computador ou até imprimir se preferir."},{q:"As receitas são difíceis de fazer?",a:"Não! O foco do livro é praticidade. A maioria das receitas usa ingredientes simples que você já tem em casa e são rápidas de preparar."},{q:"Tenho pouco tempo. O e-book ainda é para mim?",a:"Com certeza! O índice interativo ajuda você a escolher a receita ideal em segundos, e a maioria dos pratos fica pronta em menos de 20 minutos."},{q:"O pagamento é seguro?",a:"Sim, 100% seguro. Utilizamos uma plataforma de pagamentos criptografada que protege todos os seus dados."},{q:"E se eu tiver dúvidas ou problemas com o acesso?",a:"Temos uma equipe de suporte pronta para te ajudar. Basta responder ao e-mail de compra ou entrar em contato pelo nosso suporte."}].map((s,c)=>y.jsxs(V2,{"data-loc":"client/src/pages/Home.tsx:360",value:`item-${c}`,className:"border-none",children:[y.jsx(k2,{"data-loc":"client/src/pages/Home.tsx:361",className:"bg-[#F4A300] text-white px-6 py-4 rounded-lg hover:bg-[#D88E00] hover:no-underline font-bold text-left data-[state=open]:bg-gray-100 data-[state=open]:text-[#F47C00] transition-colors",children:s.q}),y.jsx(X2,{"data-loc":"client/src/pages/Home.tsx:364",className:"px-6 py-4 text-gray-600 text-base leading-relaxed bg-gray-50 rounded-b-lg mt-1",children:s.a})]},c))}),y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:371",className:"text-center mt-12",children:y.jsx("button",{"data-loc":"client/src/pages/Home.tsx:372",onClick:i,className:"btn-primary px-10 py-4 italic",children:"QUERO AS RECEITAS!"})})]})}),y.jsx("section",{"data-loc":"client/src/pages/Home.tsx:380",className:"bg-[#FFF8EC] py-16 md:py-24",children:y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:381",className:"container mx-auto max-w-5xl",children:[y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:382",className:"flex flex-col md:flex-row items-center gap-10 md:gap-16",children:[y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:383",className:"w-full md:w-1/3 shrink-0",children:y.jsx("img",{"data-loc":"client/src/pages/Home.tsx:384",src:"/images/author-portrait.jpg",alt:"Nutri Mariana Lopes",className:"w-full rounded-2xl shadow-xl rotate-2 hover:rotate-0 transition-transform duration-500"})}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:387",className:"flex-1 text-center md:text-left",children:[y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:388",className:"text-sm font-bold text-gray-500 uppercase tracking-widest mb-2",children:"SOBRE A AUTORA"}),y.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:389",className:"text-3xl md:text-4xl font-extrabold text-[#F47C00] mb-6",children:"NUTRI MARIANA LOPES"}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:393",className:"space-y-4 text-gray-700 text-lg leading-relaxed",children:[y.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:394",children:["Prazer, sou a Nutri Mariana Lopes. Sempre acreditei que ",y.jsx("strong",{"data-loc":"client/src/pages/Home.tsx:394",children:"comer bem não precisa ser complicado, caro ou sem sabor"}),"."]}),y.jsx("p",{"data-loc":"client/src/pages/Home.tsx:395",children:"Ao longo do meu trabalho, percebi que muitas pessoas desistem da alimentação saudável por não conseguir abrir mão do doce — ou por acharem que sobremesa saudável não é gostosa."}),y.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:396",children:[y.jsx("strong",{"data-loc":"client/src/pages/Home.tsx:396",children:"Foi daí que nasceu este material:"})," um guia prático com receitas de brigadeiro saudável, sem açúcar, sem lactose e sem glúten, fáceis de fazer, acessíveis e com sabor de verdade."]}),y.jsx("p",{"data-loc":"client/src/pages/Home.tsx:397",children:"Preparei tudo com muito carinho para te mostrar que é possível matar a vontade de doce sem culpa e sem sair da dieta."}),y.jsx("p",{"data-loc":"client/src/pages/Home.tsx:398",className:"font-bold text-[#F47C00] text-xl mt-4",children:"💛 Vamos juntos nessa?"})]}),y.jsx("button",{"data-loc":"client/src/pages/Home.tsx:401",onClick:i,className:"btn-primary mt-8 px-10 italic",children:"QUERO AS RECEITAS!"})]})]}),y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:407",className:"mt-20 text-center max-w-2xl mx-auto",children:y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:408",className:"bg-white p-8 rounded-2xl shadow-lg border border-gray-100",children:[y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:409",className:"w-24 h-24 mx-auto mb-6",children:y.jsx("img",{"data-loc":"client/src/pages/Home.tsx:410",src:"/images/guarantee-seal.jpg",alt:"7 Dias de Garantia",className:"w-full h-full object-contain"})}),y.jsx("p",{"data-loc":"client/src/pages/Home.tsx:412",className:"text-gray-600 leading-relaxed",children:"Confiamos tanto na qualidade do nosso e-book que oferecemos uma garantia de satisfação de 7 dias. Se não gostar, basta solicitar o reembolso total sem burocracia!"})]})})]})}),y.jsxs("footer",{"data-loc":"client/src/pages/Home.tsx:422",className:"bg-[#F6E9B3] text-center py-6 text-sm font-medium text-gray-800",children:["© ",new Date().getFullYear()," Todos os direitos reservados à Nutri Mariana Lopes."]})]})}function Z2(){return y.jsxs(p2,{"data-loc":"client/src/App.tsx:12",children:[y.jsx(eu,{"data-loc":"client/src/App.tsx:13",path:"/",component:Q2}),y.jsx(eu,{"data-loc":"client/src/App.tsx:14",path:"/404",component:mg}),y.jsx(eu,{"data-loc":"client/src/App.tsx:16",component:mg})]})}function K2(){return y.jsx(g2,{"data-loc":"client/src/App.tsx:28",children:y.jsx(v2,{"data-loc":"client/src/App.tsx:29",defaultTheme:"light",children:y.jsxs(N1,{"data-loc":"client/src/App.tsx:33",children:[y.jsx(Dy,{"data-loc":"client/src/App.tsx:34"}),y.jsx(Z2,{"data-loc":"client/src/App.tsx:35"})]})})})}ty.createRoot(document.getElementById("root")).render(y.jsx(K2,{"data-loc":"client/src/main.tsx:5"}));